mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-03 23:55:44 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			v3.0.0-alp
			...
			v3.0.0-alp
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					6f35923735 | ||
| 
						 | 
					b1dc5cb4cc | ||
| 
						 | 
					3c9bc8c67f | 
@@ -31,9 +31,11 @@ export const ContinuePage = () => {
 | 
				
			|||||||
    }, 500);
 | 
					    }, 500);
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const urlParsed = URL.parse(redirectUri);
 | 
					  let uri;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (urlParsed === null) {
 | 
					  try {
 | 
				
			||||||
 | 
					    uri = new URL(redirectUri);
 | 
				
			||||||
 | 
					  } catch {
 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
      <ContinuePageLayout>
 | 
					      <ContinuePageLayout>
 | 
				
			||||||
        <Text size="xl" fw={700}>
 | 
					        <Text size="xl" fw={700}>
 | 
				
			||||||
@@ -49,7 +51,7 @@ export const ContinuePage = () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if (
 | 
					  if (
 | 
				
			||||||
    window.location.protocol === "https:" &&
 | 
					    window.location.protocol === "https:" &&
 | 
				
			||||||
    urlParsed.protocol === "http:"
 | 
					    uri.protocol === "http:"
 | 
				
			||||||
  ) {
 | 
					  ) {
 | 
				
			||||||
    return (
 | 
					    return (
 | 
				
			||||||
      <ContinuePageLayout>
 | 
					      <ContinuePageLayout>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user