Skip to content

Commit e4f03ba

Browse files
Point all environments to dev backend (txrpdb-backend-dev)
This is the RPDBv4.0-dev fork — production and development builds both connect to the dev Azure backend and txrpdb-dev database. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a5e4289 commit e4f03ba

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

next.config.mjs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,15 @@ const isDevelopment = process.env.NEXT_PUBLIC_DEPLOYMENT === 'DEVELOPMENT';
77
let assetPrefix = '';
88
let basePath = '';
99
let apiBaseUrl = 'http://127.0.0.1:8000';
10-
// let apiBaseUrl = 'https://txrpdb-backend.azurewebsites.net';
1110

1211
if (isProduction || isGithubActions) {
1312
const repo = process.env.GITHUB_REPOSITORY ?.replace(/.*?\//, '') || process.env.NEXT_PUBLIC_REPO_NAME;
1413

1514
assetPrefix = `/${repo}`;
1615
basePath = `/${repo}`;
17-
apiBaseUrl = 'https://txrpdb-backend.azurewebsites.net';
16+
apiBaseUrl = 'https://txrpdb-backend-dev.azurewebsites.net';
1817
}
1918
if (isDevelopment) {
20-
// // Custom settings for DEVELOPMENT (i.e., the `develop` branch)
21-
// const repo = process.env.GITHUB_REPOSITORY?.replace(/.*?\//, '') || process.env.NEXT_PUBLIC_REPO_NAME;
22-
23-
// // Set assetPrefix and basePath for the develop branch
24-
// assetPrefix = `/dev/${repo}`;
25-
// basePath = `/dev/${repo}`;
2619
apiBaseUrl = 'https://txrpdb-backend-dev.azurewebsites.net';
2720
}
2821

0 commit comments

Comments
 (0)