Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
pleroma-fe
Commits
b6ac99fd
Commit
b6ac99fd
authored
8 years ago
by
lain
Browse files
Options
Downloads
Patches
Plain Diff
Use history routing.
parent
1ae52237
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/index.js
+0
-5
0 additions, 5 deletions
config/index.js
index.html
+1
-1
1 addition, 1 deletion
index.html
src/main.js
+4
-1
4 additions, 1 deletion
src/main.js
with
5 additions
and
7 deletions
config/index.js
+
0
−
5
View file @
b6ac99fd
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
index.html
+
1
−
1
View file @
b6ac99fd
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
src/main.js
+
4
−
1
View file @
b6ac99fd
...
...
@@ -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
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment