Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
bf3bb359
Commit
bf3bb359
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Patches
Plain Diff
redirect bob nob
parent
73b0fb80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.js
+21
-0
21 additions, 0 deletions
src/main.js
with
21 additions
and
0 deletions
src/main.js
+
21
−
0
View file @
bf3bb359
...
@@ -36,6 +36,27 @@ const router = new VueRouter({
...
@@ -36,6 +36,27 @@ const router = new VueRouter({
path
:
''
,
path
:
''
,
component
:
DictionaryView
,
component
:
DictionaryView
,
children
:
[
children
:
[
{
path
:
'
bob/*
'
,
redirect
:
to
=>
{
return
"
bm/
"
+
to
.
params
.
pathMatch
}
},
{
path
:
'
nob/*
'
,
redirect
:
to
=>
{
console
.
log
(
to
)
return
"
nn/
"
+
to
.
params
.
pathMatch
}
},
{
path
:
'
bob,nob/*
'
,
redirect
:
to
=>
{
console
.
log
(
to
)
return
"
bm,nn/
"
+
to
.
params
.
pathMatch
}
},
{
{
path
:
'
:lang
'
,
path
:
'
:lang
'
,
children
:
[
children
:
[
...
...
This diff is collapsed.
Click to expand it.
Henrik Askjer
@Henrik.Askjer
mentioned in commit
437f1b7a
·
3 years ago
mentioned in commit
437f1b7a
mentioned in commit 437f1b7aa7e5e3f52ee86666948b241af93b9515
Toggle commit list
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