This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src
konrad 6c999ad148
All checks were successful
continuous-integration/drone/push Build is passing
fix: ensure same protocol for configured api url (#3303)
Resolves https://github.com/go-vikunja/frontend/issues/109

Vikunja would save the api url with `http` instead of `https` when the frontend was accessed via https. This was fine in most cases when the server would redirect all requests made to http to the secure https variant. However, in newer Firefox versions (and soon, Chrome probably as well) the browser would not follow that redirect anymore. Hence, we need to make sure to only make api requests to the same protocol. Doing API requests from an https hosted fronted to an http hosted api would probably fail already anyway.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #3303
Reviewed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2023-03-26 19:18:47 +00:00
..
assets fix: improve the "pop" sound a bit 2023-03-23 23:38:52 +04:00
components fix: update logo change only every hour 2023-03-24 23:30:26 +00:00
composables fix: use onActivated 2023-03-24 23:30:26 +00:00
constants chore(config): remove unused URL_PREFIX const (#2926) 2023-01-05 13:35:28 +00:00
directives feat: type improvements 2022-10-31 22:42:28 +01:00
helpers fix: ensure same protocol for configured api url (#3303) 2023-03-26 19:18:47 +00:00
i18n [skip ci] Updated translations via Crowdin 2023-03-19 00:05:55 +00:00
indexes feat: update eslint config 2022-10-04 13:45:16 +02:00
message chore: improve @/message action type (#3209) 2023-03-08 09:51:55 +00:00
models feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
modelSchema/common feat(gantt): use time constants 2022-10-27 17:49:29 +02:00
modelTypes feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
modules feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
router feat: add redirect for old list routes 2023-03-14 14:04:23 +00:00
services chore: update JSDoc example 2023-03-16 14:56:32 +00:00
stores feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
styles feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
types feat: rename list to project everywhere 2023-03-14 14:04:23 +00:00
views fix: list view: don't sort tasks after marking one "done" (#3285) 2023-03-23 20:50:17 +00:00
App.vue feat: improve naming and styles 2023-02-03 17:25:38 +01:00
histoire.setup.ts feat: add histoire 2023-01-05 23:12:58 +01:00
main.ts fix(i18n): load language files before doing anything else (#3218) 2023-03-10 13:46:23 +00:00
pinia.ts feat: port tasks store to pinia 2022-09-29 21:40:15 +02:00
polyfills.ts feat: add-task usability improvements (#2767) 2023-01-04 15:54:09 +00:00
registerServiceWorker.ts fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
sentry.ts feat: add type info 2022-11-01 13:12:12 +01:00
sw.ts fix(base): Use Build Time Base Path 2023-02-03 09:21:06 +01:00
urls.ts feat: rename js files to ts 2022-04-02 17:14:59 +02:00
version.json Cleanup code & make sure it has a common code style 2020-09-05 22:35:52 +02:00