fix build

This commit is contained in:
2022-12-31 14:14:53 +02:00
parent 7847267ec8
commit 92753b1e35
11 changed files with 32 additions and 56 deletions

View File

@@ -1,8 +1,8 @@
import { Sequelize, DataTypes } from "sequelize";
import config from "$lib/config";
import consola from "consola";
import { env } from "$env/dynamic/private";
const sequelize = new Sequelize(config.db.url);
const sequelize = new Sequelize(env.DB_URL);
sequelize.define("Announcements", {
title: {