Skip to content
Snippets Groups Projects
Commit ed8f0a1a authored by Niklas Schrötler's avatar Niklas Schrötler
Browse files

MensaplanPanel: Now using relative address to api b/c of deploy

parent 82788e23
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => { ...@@ -51,7 +51,7 @@ const MensaplanPanel = (props: {definition: MensaPanelDefinition}) => {
} }
// Request the API // Request the API
const request = await fetch(`https://infoscreen.oh14.de/canteen-menu/v3/canteens/${props.definition.canteenId}/${fetchFor}`); const request = await fetch(`/canteen-menu/v3/canteens/${props.definition.canteenId}/${fetchFor}`);
if (!(request.status === 200)) { if (!(request.status === 200)) {
menus.current = []; menus.current = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment