Skip to content

Commit 3c6d8a5

Browse files
committed
refactor: Extract help docs url into the .env
1 parent 590de81 commit 3c6d8a5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/client/.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ LOGTO_ENDPOINT="http://localhost:3010/"
33
BACKEND_ENDPOINT="http://localhost:3001/"
44
LOGTO_SIGN_IN_REDIRECT_URI="http://localhost:3000/callback"
55
LOGTO_SIGN_OUT_REDIRECT_URI="http://localhost:3000/"
6+
HELP_DOCS_URL="https://earthworm-docs.cuixueshe.com/get-started/"

apps/client/nuxt.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default defineNuxtConfig({
4343
backendEndpoint: process.env.BACKEND_ENDPOINT || "",
4444
signInRedirectURI: process.env.LOGTO_SIGN_IN_REDIRECT_URI || "",
4545
signOutRedirectURI: process.env.LOGTO_SIGN_OUT_REDIRECT_URI || "",
46-
helpDocsURL: "https://earthworm-docs.cuixueshe.com/get-started/",
46+
helpDocsURL: process.env.HELP_DOCS_URL || "",
4747
},
4848
},
4949
});

0 commit comments

Comments
 (0)