web: updated api endpoint & params, default instance override

- dialogs can be undismissable now (impossible to click away by pressing the bg behind it)
- added security warning about api override
- moved default api url to env
- added new processing settings page
This commit is contained in:
wukko
2024-08-04 00:43:24 +06:00
parent 168c1bdbbb
commit aba444ec8b
14 changed files with 134 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ const variables = {
HOST: env.PUBLIC_HOST,
PLAUSIBLE_HOST: env.PUBLIC_PLAUSIBLE_HOST,
PLAUSIBLE_ENABLED: env.PUBLIC_HOST && env.PUBLIC_PLAUSIBLE_HOST,
DEFAULT_API: env.PUBLIC_DEFAULT_API,
}
const donate = {
@@ -20,5 +21,7 @@ const donate = {
}
};
export { donate };
const apiURL = "https://api.cobalt.tools";
export { donate, apiURL };
export default variables;