mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2024-11-21 21:41:35 +01:00
fix
This commit is contained in:
parent
35809be3a3
commit
965d9ba6aa
@ -168,6 +168,16 @@ const conf = convict({
|
|||||||
default: 'https://__DOMAIN__',
|
default: 'https://__DOMAIN__',
|
||||||
env: 'BASE_URL'
|
env: 'BASE_URL'
|
||||||
},
|
},
|
||||||
|
custom_title: {
|
||||||
|
format: String,
|
||||||
|
default: 'Send',
|
||||||
|
env: 'CUSTOM_TITLE'
|
||||||
|
},
|
||||||
|
custom_description: {
|
||||||
|
format: String,
|
||||||
|
default: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.',
|
||||||
|
env: 'CUSTOM_DESCRIPTION'
|
||||||
|
},
|
||||||
detect_base_url: {
|
detect_base_url: {
|
||||||
format: Boolean,
|
format: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
@ -243,6 +253,16 @@ const conf = convict({
|
|||||||
default: 'https://github.com/timvisee/send',
|
default: 'https://github.com/timvisee/send',
|
||||||
env: 'SEND_FOOTER_SOURCE_URL'
|
env: 'SEND_FOOTER_SOURCE_URL'
|
||||||
},
|
},
|
||||||
|
custom_footer_text: {
|
||||||
|
format: String,
|
||||||
|
default: '',
|
||||||
|
env: 'CUSTOM_FOOTER_TEXT'
|
||||||
|
},
|
||||||
|
custom_footer_url: {
|
||||||
|
format: String,
|
||||||
|
default: '',
|
||||||
|
env: 'CUSTOM_FOOTER_URL'
|
||||||
|
},
|
||||||
ui_color_primary: {
|
ui_color_primary: {
|
||||||
format: String,
|
format: String,
|
||||||
default: '#0a84ff',
|
default: '#0a84ff',
|
||||||
@ -253,6 +273,11 @@ const conf = convict({
|
|||||||
default: '#003eaa',
|
default: '#003eaa',
|
||||||
env: 'UI_COLOR_ACCENT'
|
env: 'UI_COLOR_ACCENT'
|
||||||
},
|
},
|
||||||
|
custom_locale: {
|
||||||
|
format: String,
|
||||||
|
default: '',
|
||||||
|
env: 'CUSTOM_LOCALE'
|
||||||
|
},
|
||||||
ui_custom_assets: {
|
ui_custom_assets: {
|
||||||
android_chrome_192px: {
|
android_chrome_192px: {
|
||||||
format: String,
|
format: String,
|
||||||
@ -303,6 +328,11 @@ const conf = convict({
|
|||||||
format: String,
|
format: String,
|
||||||
default: '',
|
default: '',
|
||||||
env: 'UI_CUSTOM_ASSETS_WORDMARK'
|
env: 'UI_CUSTOM_ASSETS_WORDMARK'
|
||||||
|
},
|
||||||
|
custom_css: {
|
||||||
|
format: String,
|
||||||
|
default: '',
|
||||||
|
env: 'UI_CUSTOM_CSS'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -9,6 +9,8 @@ location __PATH__/ {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /api/ws {
|
location /api/ws {
|
||||||
|
|
||||||
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@ -17,5 +19,4 @@ location /api/ws {
|
|||||||
proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
proxy_connect_timeout 4000s;
|
proxy_connect_timeout 4000s;
|
||||||
proxy_read_timeout 4000s;
|
proxy_read_timeout 4000s;
|
||||||
proxy_pass http://127.0.0.1:__PORT__;
|
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,7 @@ ram.runtime = "50M"
|
|||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.23.tar.gz"
|
url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.23.tar.gz"
|
||||||
sha256 = "eed0e391050842413d300133a64cc76829e3ba1d69e113f6e5fdc3eda777fa2a"
|
sha256 = "eed0e391050842413d300133a64cc76829e3ba1d69e113f6e5fdc3eda777fa2a"
|
||||||
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user