🎨 Added troubleshoot steps + external address "/"

This commit is contained in:
Tagaishi
2023-10-12 19:23:16 +02:00
parent 3c015d297b
commit 24024cc7f2
3 changed files with 4 additions and 1 deletions

View File

@@ -20,6 +20,8 @@
"lines": {
"nothingAfterPort": "You should, in most if not all cases, not input anything after the port, even the '/admin' for pihole.",
"protocolCheck": "Always make sure that the URL is preceded by http or https, and to make sure you are using the right one.",
"preferIP": "It is recommended to use the direct ip of the machine or container you are trying to communicate with.",
"wget": "To make sure that homarr can communicate with the other apps, make sure to wget/curl/ping the app's IP:port.",
"iframe": "When it comes to iframes, those should always be using the same protocol (http/s) as Homarr.",
"clearCache": "Some informations are registered in cache, so an integration might not work unless you clear the cache in Homarr's general options."
},

View File

@@ -92,7 +92,6 @@ export const EditAppModal = ({
}
values.url = removeTrailingSlash(values.url);
values.behaviour.externalUrl = removeTrailingSlash(values.behaviour.externalUrl);
updateConfig(
configName,

View File

@@ -20,6 +20,8 @@ export const GeneralTab = ({ form, openTab }: GeneralTabProps) => {
const commonMistakes = [
t('general.internalAddress.troubleshoot.lines.nothingAfterPort'),
t('general.internalAddress.troubleshoot.lines.protocolCheck'),
t('general.internalAddress.troubleshoot.lines.preferIP'),
t('general.internalAddress.troubleshoot.lines.wget'),
t('general.internalAddress.troubleshoot.lines.iframe'),
t('general.internalAddress.troubleshoot.lines.clearCache'),
];