File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,8 @@ import { TextInput } from "../components/TextInput"
1212import { SuccessMessage } from "../components/SuccessMessage"
1313
1414// Helper function to get the base URL for OAuth redirects
15- // Uses production URL (devx.network) in production, localhost in development
15+ // Always uses production URL (devx.network)
1616const getBaseUrl = ( ) => {
17- if ( typeof window === "undefined" ) {
18- return siteConfig . url
19- }
20- const hostname = window . location . hostname
21- // Use localhost origin for local development
22- if ( hostname === "localhost" || hostname === "127.0.0.1" || hostname . startsWith ( "192.168." ) ) {
23- return window . location . origin
24- }
25- // Use production URL for all other cases
2617 return siteConfig . url
2718}
2819
Original file line number Diff line number Diff line change @@ -123,9 +123,7 @@ enabled = true
123123site_url = " https://devx.network"
124124# A list of *exact* URLs that auth providers are permitted to redirect to post authentication.
125125additional_redirect_urls = [
126- " https://127.0.0.1:3000" ,
127- " http://192.168.1.93:3000" ,
128- " https://192.168.1.93:3000" ,
126+ " https://devx.network/" ,
129127 " https://devx.network" ,
130128 " https://devx.network/login"
131129]
You can’t perform that action at this time.
0 commit comments