Skip to content

Commit fe22805

Browse files
Merge branch '36-functions-v3' into refresh-functions-v4
2 parents 967afed + 6d929b7 commit fe22805

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

scripts/run-local.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ try {
1111
Push-Location ( Join-Path $PSScriptRoot ../dotnet ) -StackName scripts
1212

1313
# Build and host SPA at http://127.0.0.1:8080/
14-
Start-Process pwsh { -c cd ../web/serverless-microservices-web && npm install && npm run build && copy public/js/settings.sample.js dist/js/settings.js && cd dist && http-server }
14+
Start-Process pwsh { -c cd ../web/serverless-microservices-web && npm install && npm run build && copy ../../test/settings.example.js dist/js/settings.js && cd dist && http-server }
1515

1616
# Build and start Trip Archiver Nodejs Function
1717
Start-Process pwsh { -c cd ../nodejs/serverless-microservices-functionapp-triparchiver && npm install && npm run pack && func start --javascript -p 7075 }

test/settings.example.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Auth
2+
window.authClientId = '';
3+
window.authAuthority = '';
4+
window.authScopes = [''];
5+
window.authEnabled = false;
6+
7+
// API endpoints
8+
window.apiKey = '';
9+
window.apiBaseUrl = '';
10+
window.apiDriversBaseUrl = `http://localhost:7071/api`;
11+
window.apiTripsBaseUrl = `http://localhost:7072/api`;
12+
window.apiPassengersBaseUrl = `http://localhost:7073/api`;
13+
window.signalrInfoUrl = '';

0 commit comments

Comments
 (0)