-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetzo.config.ts
32 lines (30 loc) · 1.08 KB
/
netzo.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { datastore } from "netzo/datastore/mod.ts";
import { defineConfig } from "netzo/mod.ts";
import { loader } from "netzo/plugins/loader/plugin.ts";
import * as netzo from "netzo/plugins/mod.ts";
import { unocss } from "netzo/plugins/unocss/plugin.ts";
import unocssConfig from "./unocss.config.ts";
export const db = datastore();
export default defineConfig({
plugins: [
netzo.environments(),
// netzo.auth({
// logo: "/favicon.svg",
// title: "Deportivo San Agustin",
// description: "Portal de socios del Deportivo San Agustin",
// image: { src: "/cover.jpg" },
// caption:
// "Al iniciar sesión aceptas los <a>términos y condiciones</a> de uso.",
// providers: { email: {}, netzo: {}, google: {} },
// }),
// netzo.database({ apiKey: undefineDeno.env.get("NETZO_API_KEY") }),
netzo.datastore({ apiKey: undefined }), // Deno.env.get("NETZO_API_KEY"),
netzo.toolbar({
locale: "es",
denoJson: JSON.parse(await Deno.readTextFile("deno.json")),
links: [],
}),
loader(),
unocss(unocssConfig),
],
});