mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 10:13:42 +00:00
Use history routing.
This commit is contained in:
parent
1ae5223742
commit
b6ac99fdf0
3 changed files with 5 additions and 7 deletions
|
@ -26,11 +26,6 @@ module.exports = {
|
|||
target: 'https://social.heldscal.la/',
|
||||
changeOrigin: true,
|
||||
cookieDomainRewrite: 'localhost'
|
||||
},
|
||||
'/main': {
|
||||
target: 'https://social.heldscal.la/',
|
||||
changeOrigin: true,
|
||||
cookieDomainRewrite: 'localhost'
|
||||
}
|
||||
},
|
||||
// CSS Sourcemaps off by default because relative paths are "buggy"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Pleroma</title>
|
||||
<link rel="stylesheet" href="static/font/css/fontello.css">
|
||||
<link rel="stylesheet" href="/static/font/css/fontello.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
@ -24,7 +24,10 @@ const routes = [
|
|||
{ path: '/main/friends', component: FriendsTimeline }
|
||||
]
|
||||
|
||||
const router = new VueRouter({routes})
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes
|
||||
})
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
|
|
Loading…
Reference in a new issue