Skip to content
Snippets Groups Projects
Commit b6ac99fd authored by lain's avatar lain
Browse files

Use history routing.

parent 1ae52237
No related branches found
No related tags found
No related merge requests found
...@@ -26,11 +26,6 @@ module.exports = { ...@@ -26,11 +26,6 @@ module.exports = {
target: 'https://social.heldscal.la/', target: 'https://social.heldscal.la/',
changeOrigin: true, changeOrigin: true,
cookieDomainRewrite: 'localhost' cookieDomainRewrite: 'localhost'
},
'/main': {
target: 'https://social.heldscal.la/',
changeOrigin: true,
cookieDomainRewrite: 'localhost'
} }
}, },
// CSS Sourcemaps off by default because relative paths are "buggy" // CSS Sourcemaps off by default because relative paths are "buggy"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Pleroma</title> <title>Pleroma</title>
<link rel="stylesheet" href="static/font/css/fontello.css"> <link rel="stylesheet" href="/static/font/css/fontello.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
...@@ -24,7 +24,10 @@ const routes = [ ...@@ -24,7 +24,10 @@ const routes = [
{ path: '/main/friends', component: FriendsTimeline } { path: '/main/friends', component: FriendsTimeline }
] ]
const router = new VueRouter({routes}) const router = new VueRouter({
mode: 'history',
routes
})
/* eslint-disable no-new */ /* eslint-disable no-new */
new Vue({ new Vue({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment