mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
fix: default sharex config download url
used to be always appended with ?v=undefined regardless of cacheControl option's value in config file this never came into attention usually, because the default url would only be presented to non-logged in users when the safe is private
This commit is contained in:
parent
8142eae9df
commit
4c850f4731
@ -66,7 +66,7 @@
|
||||
attrs: {
|
||||
id: 'ShareX',
|
||||
title: 'ShareX user profile',
|
||||
href: 'https://safe.fiery.me/safe.fiery.me.sxcu?v=' + v2
|
||||
href: 'https://safe.fiery.me/safe.fiery.me.sxcu?v=' + (versions[2] or '')
|
||||
},
|
||||
icon: 'icon-sharex icon-2x'
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
{%- import '_globals.njk' as globals -%}
|
||||
{%- import '_globals.njk' as globals with context -%}
|
||||
|
||||
{# Set root domain here to inherit values from config file #}
|
||||
{%- set root = utils.conf.homeDomain or utils.conf.domain -%}
|
||||
|
Loading…
Reference in New Issue
Block a user