diff --git a/README.md b/README.md index 60ffa6a..416cfba 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ If you don't want to use the Nix development environment you have to follow thes - Set environment variables needed by the application: ```sh - touch .env.local && printf 'DAPLA_TEAM_API_URL=https://dapla-team-api-v2.staging-bip-app.ssb.no\nPORT=3000\nDAPLA_CTRL_ADMIN_GROUPS=dapla-stat-developers,dapla-skyinfra-developers,dapla-utvik-developers\nDAPLA_CTRL_DOCUMENTATION_URL=https://statistics-norway.atlassian.net/wiki/x/EYC24g' >> .env.local + touch .env.local && printf 'DAPLA_TEAM_API_URL=https://dapla-team-api.intern.test.ssb.no\nPORT=3000\nDAPLA_CTRL_ADMIN_GROUPS=dapla-stat-developers,dapla-skyinfra-developers,dapla-utvik-developers\nDAPLA_CTRL_DOCUMENTATION_URL=https://statistics-norway.atlassian.net/wiki/x/EYC24g' >> .env.local ``` ### ESLint and Prettier diff --git a/flake.nix b/flake.nix index 4242c36..089d969 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ perSystem = {pkgs, ...}: { devShells.default = pkgs.mkShell { shellHook = '' - export DAPLA_TEAM_API_URL=https://dapla-team-api-v2.staging-bip-app.ssb.no + export DAPLA_TEAM_API_URL=https://dapla-team-api.intern.test.ssb.no export PORT=3000 export DAPLA_CTRL_ADMIN_GROUPS=dapla-stat-developers,dapla-skyinfra-developers,dapla-utvik-developers export DAPLA_CTRL_DOCUMENTATION_URL=https://statistics-norway.atlassian.net/wiki/x/EYC24g diff --git a/server.js b/server.js index 9e0be40..0e0bebf 100644 --- a/server.js +++ b/server.js @@ -13,7 +13,7 @@ if (!process.env.DAPLA_TEAM_API_URL) { const app = express() const PORT = process.env.PORT || 3000 -const DAPLA_TEAM_API_URL = process.env.DAPLA_TEAM_API_URL || 'https://dapla-team-api-v2.staging-bip-app.ssb.no' +const DAPLA_TEAM_API_URL = process.env.DAPLA_TEAM_API_URL || 'https://dapla-team-api.intern.test.ssb.no' app.use( '/klass',