File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ import { StartWorkspaceModal } from "./workspaces/StartWorkspaceModal";
47
47
import { parseProps } from "./start/StartWorkspace" ;
48
48
import SelectIDEModal from "./settings/SelectIDEModal" ;
49
49
import { StartPage , StartPhase } from "./start/StartPage" ;
50
- import { isGitpodIo , isLocalPreview } from "./utils" ;
50
+ import { isGitpodIo } from "./utils" ;
51
51
import { BlockedRepositorySettings } from "./admin/BlockedRepositorySettings" ;
52
52
53
53
const Setup = React . lazy ( ( ) => import ( /* webpackPrefetch: true */ "./Setup" ) ) ;
@@ -277,11 +277,6 @@ function App() {
277
277
return < div > </ div > ;
278
278
}
279
279
280
- if ( isLocalPreview ( ) ) {
281
- window . location . host = "www.gitpod.io" ;
282
- return < div > </ div > ;
283
- }
284
-
285
280
if ( isGitpodIo ( ) && window . location . pathname === "/" && window . location . hash === "" && ! loading && ! user ) {
286
281
if ( ! GitpodCookie . isPresent ( document . cookie ) ) {
287
282
window . location . href = `https://www.gitpod.io` ;
Original file line number Diff line number Diff line change @@ -494,9 +494,15 @@ export default function Menu() {
494
494
</ nav >
495
495
) }
496
496
{ isLP && (
497
- < Alert type = "warning" className = "mt-4 w-96" >
498
- Visit https://www.gitpod.io/community-license?utm_source=local-preview for next steps on running
499
- a Production version of Gitpod
497
+ < Alert type = "warning" className = "app-container rounded-md" >
498
+ This is a local-preview instance. Visit{ " " }
499
+ < a
500
+ className = "gp-link hover:text-gray-600"
501
+ href = "https://www.gitpod.io/community-license?utm_source=local-preview"
502
+ >
503
+ the community license page
504
+ </ a > { " " }
505
+ for next steps on running a production version of Gitpod.
500
506
</ Alert >
501
507
) }
502
508
</ header >
You can’t perform that action at this time.
0 commit comments