Commit Graph

6 Commits

Author SHA1 Message Date
kolaente 725fd1ad46
feat: improve error message for invalid API url
continuous-integration/drone/push Build is passing Details
Resolves #3680
2023-09-04 13:37:17 +02:00
konrad 6c999ad148 fix: ensure same protocol for configured api url (#3303)
continuous-integration/drone/push Build is passing Details
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
WofWca 6a3518dace chore(refactor): improve `stores/config` types (#3190)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #3190
Reviewed-by: konrad <k@knt.li>
Co-authored-by: WofWca <wofwca@protonmail.com>
Co-committed-by: WofWca <wofwca@protonmail.com>
2023-03-03 14:36:59 +00:00
Dominik Pschenitschni a737fc5bc2
feat: port config store to pinia
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2022-09-23 13:30:09 +02:00
kolaente 26213d5e8c
fix: api not found by default
continuous-integration/drone/push Build is passing Details
2021-11-16 22:34:08 +01:00
konrad 0a2d5ef820 feat: defer everything until the api config is loaded (#926)
continuous-integration/drone/push Build is failing Details
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #926
Reviewed-by: dpschen <dpschen@noreply.kolaente.de>
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-11-13 19:49:02 +00:00