From 086db87972534dfa557da13403bc948281c65003 Mon Sep 17 00:00:00 2001 From: KoCoder Date: Sun, 6 Oct 2024 16:47:47 +0200 Subject: [PATCH] Adjust apiUrl --- Dockerfile | 2 +- redwood.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea5b3d8..14a8f6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,7 +109,7 @@ ENV NODE_ENV=production # This is important if you intend to configure GraphQL to use Realtime. # # CMD [ "./api/dist/server.js" ] -CMD [ "node_modules/.bin/rw-server", "api" ] +CMD [ "node_modules/.bin/rw-server", "api" ] # web serve # --------- diff --git a/redwood.toml b/redwood.toml index a081493..bcae53f 100644 --- a/redwood.toml +++ b/redwood.toml @@ -8,7 +8,7 @@ [web] title = "Redwood App" port = 8910 - apiUrl = "/.redwood/functions" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths + apiUrl = "/api" # You can customize graphql and dbauth urls individually too: see https://redwoodjs.com/docs/app-configuration-redwood-toml#api-paths includeEnvironmentVariables = [ "MICROSOFT_OAUTH_CLIENT_ID", "MICROSOFT_OAUTH_SCOPES",