fix strapi urls and shit
This commit is contained in:
parent
0e94cb95ca
commit
0eb91d67dd
8 changed files with 92 additions and 66 deletions
7
src/app.d.ts
vendored
7
src/app.d.ts
vendored
|
|
@ -1,12 +1,13 @@
|
|||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
|
||||
import type { Strapi } from "$lib/server/strapi";
|
||||
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
Strapi: {
|
||||
url: string;
|
||||
};
|
||||
strapi: Strapi;
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue