mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 16:53:58 +00:00
SYNC: fix - license in pro widget
This commit is contained in:
committed by
Diflow
parent
b2ac4ee245
commit
5fd50dcf45
@@ -2,7 +2,7 @@ DEVMODE=1
|
|||||||
SHELL_SCRIPTING=1
|
SHELL_SCRIPTING=1
|
||||||
ALLOW_DBGATE_PRIVATE_CLOUD=1
|
ALLOW_DBGATE_PRIVATE_CLOUD=1
|
||||||
DEVWEB=1
|
DEVWEB=1
|
||||||
LOCAL_AUTH_PROXY=1
|
# LOCAL_AUTH_PROXY=1
|
||||||
# LOCAL_AI_GATEWAY=true
|
# LOCAL_AI_GATEWAY=true
|
||||||
|
|
||||||
# REDIRECT_TO_DBGATE_CLOUD_LOGIN=1
|
# REDIRECT_TO_DBGATE_CLOUD_LOGIN=1
|
||||||
|
|||||||
@@ -283,6 +283,7 @@ async function updatePremiumPromoWidget() {
|
|||||||
`${DBGATE_CLOUD_URL}/premium-promo-widget?identifier=${promoWidgetData?.identifier ?? 'empty'}&tags=${tags}`,
|
`${DBGATE_CLOUD_URL}/premium-promo-widget?identifier=${promoWidgetData?.identifier ?? 'empty'}&tags=${tags}`,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
...getLicenseHttpHeaders(),
|
||||||
...(await getCloudInstanceHeaders()),
|
...(await getCloudInstanceHeaders()),
|
||||||
'x-app-version': currentVersion.version,
|
'x-app-version': currentVersion.version,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user