add update demo script, remove duplicate toast, try hash route

This commit is contained in:
Baptiste Lemoine 2020-01-16 17:03:51 +01:00
parent 10497c9cb0
commit 6a3d2c3195
3 changed files with 54 additions and 48 deletions

View File

@ -1,11 +1,12 @@
import {NgModule} from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {RouterModule, Routes} from '@angular/router';
const routes: Routes = [];
@NgModule({
imports: [RouterModule.forRoot(routes)],
imports: [RouterModule.forRoot(routes, {useHash: true})],
exports: [RouterModule]
})
export class AppRoutingModule { }
export class AppRoutingModule {
}

View File

@ -38,7 +38,6 @@
modification.
</p >
</section >
<section class="public" >
@ -89,4 +88,3 @@
</section >
<p-toast position="bottom-right"></p-toast>

7
update-demo.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
git pull origin dev
yarn install --pure-lockfile
yarn build
sudo cp -r ./dist/framadate/* ../framadate-api/public/
echo " now check update demo at https://framadate-api.cipherbliss.com/index.html "