Improve Docker setup and reduce memory usage of production containers (#338)

This commit is contained in:
Fynn Petersen-Frey 2022-07-13 14:42:00 +02:00 committed by GitHub
parent ae7e582ec8
commit bece6253d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 26 deletions

View file

@ -1,7 +1,7 @@
import type { GetSession, Handle } from '@sveltejs/kit';
import * as cookie from 'cookie';
import { api } from '@api';
import { AxiosError } from 'axios';
import AxiosError from 'axios';
export const handle: Handle = async ({ event, resolve }) => {
const cookies = cookie.parse(event.request.headers.get('cookie') || '');