From f67abef0e2106178c7d4511de2a0b2362a34d43d Mon Sep 17 00:00:00 2001 From: Kilian Date: Mon, 24 Jun 2024 15:08:25 +0200 Subject: [PATCH] Fix nextauth url in env.local --- ui/.dockerignore | 34 ++++++++++++++++++++++++++++++++++ ui/.env.development | 2 +- ui/.env.local | 3 +-- 3 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 ui/.dockerignore diff --git a/ui/.dockerignore b/ui/.dockerignore new file mode 100644 index 0000000..dc157ff --- /dev/null +++ b/ui/.dockerignore @@ -0,0 +1,34 @@ +# Include any files or directories that you don't want to be copied to your +# container here (e.g., local build artifacts, temporary files, etc.). +# +# For more help, visit the .dockerignore file reference guide at +# https://docs.docker.com/go/build-context-dockerignore/ + +**/.classpath +**/.dockerignore +**/.env +**/.git +**/.gitignore +**/.project +**/.settings +**/.toolstarget +**/.vs +**/.vscode +**/.next +**/.cache +**/*.*proj.user +**/*.dbmdl +**/*.jfm +**/charts +**/docker-compose* +**/compose.y*ml +**/Dockerfile* +**/node_modules +**/npm-debug.log +**/obj +**/secrets.dev.yaml +**/values.dev.yaml +**/build +**/dist +LICENSE +README.md diff --git a/ui/.env.development b/ui/.env.development index 751b3e1..44129e4 100644 --- a/ui/.env.development +++ b/ui/.env.development @@ -1,2 +1,2 @@ -API_URL=http://localhost//api +API_URL=http://api.facialaccess.uug.ai/api/ NEXTAUTH_URL=http://localhost:3000 \ No newline at end of file diff --git a/ui/.env.local b/ui/.env.local index a4c3e4d..2092301 100644 --- a/ui/.env.local +++ b/ui/.env.local @@ -1,2 +1 @@ -NEXTAUTH_SECRET=/owlN1tQyTBDtSY5FjKL72lBjmuMQ7EpTAX7SFbj23A= -NEXTAUTH_URL=http://localhost:3000 \ No newline at end of file +NEXTAUTH_SECRET=/owlN1tQyTBDtSY5FjKL72lBjmuMQ7EpTAX7SFbj23A= \ No newline at end of file