Skip to content

Commit 5234104

Browse files
authored
Merge pull request #2155 from CSchank/master
Change IDE approot name
2 parents 3ee26ca + bebaa9c commit 5234104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ihp-ide/IHP/IDE/ToolServer.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ startToolServer' toolServerApplication port isDebugMode liveReloadClients = do
7373
store <- fmap clientsessionStore (ClientSession.getKey "Config/client_session_key.aes")
7474
let sessionMiddleware :: Wai.Middleware = withSession store "SESSION" (frameworkConfig.sessionCookie) sessionVaultKey
7575

76-
approotMiddleware <- Approot.envFallback
76+
approotMiddleware <- Approot.envFallbackNamed "IDE_APPROOT"
7777

7878
staticApp <- initStaticApp
7979

@@ -157,4 +157,4 @@ instance ControllerSupport.InitControllerContext ToolServerApplication where
157157
readDatabaseNeedsMigration :: (?context :: ControllerContext) => IO Bool
158158
readDatabaseNeedsMigration = do
159159
context <- fromContext @ToolServerApplication
160-
readIORef context.databaseNeedsMigration
160+
readIORef context.databaseNeedsMigration

0 commit comments

Comments
 (0)