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
26bfbdc2
Commit
26bfbdc2
authored
3 years ago
by
HJ
Browse files
Options
Downloads
Patches
Plain Diff
fix sw compilation
parent
50ea6dd1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1711
Update stable - 2.5.0 release
,
!1385
Migration to Vue 3 (again)
Pipeline
#39330
failed
3 years ago
Stage: lint
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sw.js
+2
-4
2 additions, 4 deletions
src/sw.js
with
2 additions
and
4 deletions
src/sw.js
+
2
−
4
View file @
26bfbdc2
...
...
@@ -3,12 +3,10 @@
import
localForage
from
'
localforage
'
import
{
parseNotification
}
from
'
./services/entity_normalizer/entity_normalizer.service.js
'
import
{
prepareNotificationObject
}
from
'
./services/notification_utils/notification_utils.js
'
import
Vue
from
'
vue
'
import
VueI18n
from
'
vue-i18n
'
import
{
createI18n
}
from
'
vue-i18n
'
import
messages
from
'
./i18n/service_worker_messages.js
'
Vue
.
use
(
VueI18n
)
const
i18n
=
new
VueI18n
({
const
i18n
=
createI18n
({
// By default, use the browser locale, we will update it if neccessary
locale
:
'
en
'
,
fallbackLocale
:
'
en
'
,
...
...
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