Skip to content

Commit

Permalink
Merge pull request #56 from danieljancar/develop
Browse files Browse the repository at this point in the history
fix: make routing hash based
  • Loading branch information
danieljancar authored Aug 11, 2024
2 parents f822219 + 91d59ca commit c94e986
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -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(),
],
}
2 changes: 1 addition & 1 deletion apps/frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
VoteVault - Anonymously vote on anything with Stellar Smart Contracts
</title>
<meta
content="An anounymous and straightforward voting platform built on Stellar Smart Contract for the Dev Challenge"
content="An anounymous and straightforward voting platform built on Stellar Smart Contract for the Dev Challenge. VoteVault is a decentralized voting platform that allows users to create and vote on polls without the need for a central authority."
name="description"
/>
<base href="/" />
Expand Down

0 comments on commit c94e986

Please sign in to comment.