Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Koukofikis
serene
Commits
896cd4f0
Commit
896cd4f0
authored
Apr 20, 2021
by
Athanasios
Browse files
Update settings.js
parent
34a0cb5a
Pipeline
#3574
passed with stages
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/settings.js
View file @
896cd4f0
/*
███████╗██╗███╗ ██╗ ██████╗ ███████╗██████╗ ██╗ ██╗███████╗ ██████╗
██╔════╝██║████╗ ██║██╔════╝ ██╔════╝██╔══██╗ ██║ ██║██╔════╝██╔════╝
█████╗ ██║██╔██╗ ██║██║ ███╗█████╗ ██████╔╝ ██║ █╗ ██║█████╗ ██║ ███╗
██╔══╝ ██║██║╚██╗██║██║ ██║██╔══╝ ██╔══██╗ ██║███╗██║██╔══╝ ██║ ██║
██║ ██║██║ ╚████║╚██████╔╝███████╗██║ ██║ ╚███╔███╔╝███████╗╚██████╔╝
╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚══╝╚══╝ ╚══════╝ ╚═════╝
*/
const
BASE_URL
=
`
${
window
.
location
.
origin
}
/
${
window
.
location
.
pathname
.
split
(
'
/
'
).
filter
((
e
,
i
)
=>
{
return
i
>
0
&
i
<
4
}).
join
(
'
/
'
)}
`
;
const
BASE_URL
=
`
${
window
.
location
.
origin
}
/
${
window
.
location
.
pathname
.
split
(
'
/
'
).
filter
((
e
,
i
)
=>
{
return
i
>
0
&
i
<
4
}).
join
(
'
/
'
)}
`
;
const
ON
=
true
;
const
ON
=
true
;
const
OFF
=
false
;
const
OFF
=
false
;
...
@@ -24,6 +33,15 @@ const DEFAULT = {
...
@@ -24,6 +33,15 @@ const DEFAULT = {
avatar
:
`
${
BASE_URL
}
/assets/images/avatar.png`
avatar
:
`
${
BASE_URL
}
/assets/images/avatar.png`
};
};
/*
███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗
██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝
███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗
╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║
███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║
╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
*/
let
settings
=
{
let
settings
=
{
switches
:
[
switches
:
[
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment