Skip to content

Commit

Permalink
[FIX] Fix angular paths on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
nck974 committed Dec 19, 2023
1 parent ceb1f1e commit 18af92b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ To run the app in development mode just access the folder `diogenes-ng` and star

#### Create frontend docker container

1. Build the container with `docker build -f docker/Dockerfile.angular -t nck974/diogenes-ng:0.0.6 .`
1. Build the container with `docker build -f docker/Dockerfile.angular -t nck974/diogenes-ng:0.0.7 .`
1. Generate a token in `https://hub.docker.com` and login with `docker login -u <user>`. Paste the generated token as password.
1. Push the generated container with `docker push nck974/diogenes-ng:0.0.6`.
1. Push the generated container with `docker push nck974/diogenes-ng:0.0.7`.
1. Create the `latest` tag and push it:

```bash
docker tag nck974/diogenes-ng:0.0.6 nck974/diogenes-ng:latest
docker tag nck974/diogenes-ng:0.0.7 nck974/diogenes-ng:latest
docker push nck974/diogenes-ng:latest
```

Expand Down
2 changes: 1 addition & 1 deletion ng-diogenes/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const routes: Routes = [
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, {useHash: true})],
exports: [RouterModule]
})
export class AppRoutingModule { }

0 comments on commit 18af92b

Please sign in to comment.