refactor meta API endpoint #196

Merged
norm merged 3 commits from refactor/api/meta into main 2022-10-11 17:20:51 +00:00
Owner

This refactors the meta API endpoint and its use in the client:

The client only fetches this endpoint once, and the backend allows to use GET requests to let the result be properly cached.

This refactors the meta API endpoint and its use in the client: The client only fetches this endpoint once, and the backend allows to use GET requests to let the result be properly cached.
Johann150 added 2 commits 2022-10-10 21:34:59 +00:00
9022ab9f2a
backend: ignore detail parameter on meta endpoint
Also allow meta endpoint to be fetched via GET.

Changelog: Removed
norm reviewed 2022-10-10 22:49:43 +00:00
@ -5,3 +5,3 @@
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
<p><b><i class="fas fa-exclamation-triangle"></i> {{ i18n.ts.pageLoadError }}</b></p>
<p v-if="meta && (version === meta.version)">{{ i18n.ts.pageLoadErrorDescription }}</p>
<p v-if="version === instance.version)">{{ i18n.ts.pageLoadErrorDescription }}</p>
Owner

Missing opening parantheses.

Missing opening parantheses.
Johann150 marked this conversation as resolved
Johann150 force-pushed refactor/api/meta from 89d1febcd8 to 2c411d59f4 2022-10-11 08:46:34 +00:00 Compare
norm merged commit 9a503273fb into main 2022-10-11 17:20:51 +00:00
norm deleted branch refactor/api/meta 2022-10-11 17:21:02 +00:00
Sign in to join this conversation.
No reviewers
No Label
feature
fix
upkeep
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#196
No description provided.