Updated CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Dominic Grimm 2022-02-13 09:45:14 +01:00
parent c6b5ca3fc2
commit 8f94f6fee9
4 changed files with 12 additions and 16 deletions

View file

@ -69,11 +69,6 @@ type: docker
name: frontend
steps:
- name: prettier
image: elnebuloso/prettier
commands:
- cd docker/frontend/
- prettier --ignore-path .gitignore --check --plugin-search-dir=. .
- name: build
image: tmaier/docker-compose
volumes:

View file

@ -9,11 +9,13 @@ declare namespace App {
};
}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Platform {}
interface Session {
user: Locals.user;
}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Stuff {}
}

View file

@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<link rel="icon" href="%svelte.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%svelte.head%
</head>
<body>
<div>%svelte.body%</div>
</body>
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<link rel="icon" href="%svelte.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%svelte.head%
</head>
<body>
<div>%svelte.body%</div>
</body>
</html>

View file

@ -1,7 +1,6 @@
<script lang="ts" context="module">
export function load({ session }: { session: App.Session }) {
if (!session.user.token) {
console.log("trest");
return {
status: 302,
redirect: "/login",