Skip to content

Commit

Permalink
Explore sans le #!
Browse files Browse the repository at this point in the history
co-authored-by: DavidBruant <[email protected]>
co-authored-by: Booteille <[email protected]>
  • Loading branch information
3 people committed Feb 16, 2023
1 parent ddd9575 commit bc8a900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions account.html
12 changes: 2 additions & 10 deletions assets/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ store.subscribe(render);
*/

page("/", () => {
console.debug(page.base())
if (location.pathname.length > 1) {

page.base(location.pathname + "#!")
}
console.debug(page.base())

if (store.state.login) {
const repoName = store.state.repoName;

Expand Down Expand Up @@ -428,9 +421,8 @@ page("/atelier-page", ({ querystring }) => {
}
});

console.log(page.base())

page.start({ hashbang: true });
page.base(location.pathname)
page.start();

if (store.state.accessToken) {
console.log("connecté t'as vu");
Expand Down

0 comments on commit bc8a900

Please sign in to comment.