Skip to content

Commit

Permalink
Merge pull request #8 from ls1intum/integrate-new-server
Browse files Browse the repository at this point in the history
consistent naming
  • Loading branch information
ninori9 authored Jan 5, 2025
2 parents 7ce6ac5 + 6426d44 commit b06e7d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN npm install

# Copy the application code and build the app
COPY . ./
RUN npm run build -- --configuration=production --base-href=/chatbot/
RUN npm run build -- --configuration=production --base-href=/chat/

# Stage 2: Serve the app with NGINX
FROM nginx:stable-alpine
Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/angelos-ui",
"outputPath": "dist/chatbot",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
Expand Down
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
index index.csr.html;

# Handle Angular routing
location /chatbot/ {
location /chat/ {
try_files $uri /index.csr.html;
}

Expand Down

0 comments on commit b06e7d9

Please sign in to comment.