♻️ Fikser ingress-"feil"
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no> Co-authored-by: Amalie Erdal Mansåker <amalie.erdal.mansaker@nav.no>
This commit is contained in:
parent
a4b83e13a6
commit
0271b96cbf
5 changed files with 4 additions and 16 deletions
|
|
@ -1,5 +1,4 @@
|
|||
import FeilCard from "./FeilCard";
|
||||
import { backendURL } from "../const.ts";
|
||||
import { Feilmelding } from "../interface.ts";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
|
|
@ -17,7 +16,7 @@ const CardsContainer = () => {
|
|||
* @returns response
|
||||
*/
|
||||
async function fetchAlleFeil() {
|
||||
const response = await fetch(backendURL + "/api/hentallefeil", {
|
||||
const response = await fetch("/api/hentallefeil", {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
|
|||
Reference in a new issue