diff --git a/apps/frontend/src/app/app.config.ts b/apps/frontend/src/app/app.config.ts index 1985243..efc525a 100644 --- a/apps/frontend/src/app/app.config.ts +++ b/apps/frontend/src/app/app.config.ts @@ -1,12 +1,12 @@ import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core' -import { provideRouter } from '@angular/router' +import { provideRouter, withHashLocation } from '@angular/router' import { appRoutes } from './app.routes' import { provideHttpClient } from '@angular/common/http' export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), - provideRouter(appRoutes), + provideRouter(appRoutes, withHashLocation()), provideHttpClient(), ], } diff --git a/apps/frontend/src/index.html b/apps/frontend/src/index.html index 81037d5..c088482 100644 --- a/apps/frontend/src/index.html +++ b/apps/frontend/src/index.html @@ -6,7 +6,7 @@ VoteVault - Anonymously vote on anything with Stellar Smart Contracts