Merge pull request '🔧 chore: add env.template and load .env instead of .env.development.local' (#2) from feature/dotenv into main

Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
2026-01-09 11:48:05 +00:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
#Local mode, set to true to access admin pages with any users
LOCAL=false
+1 -1
View File
@@ -2,7 +2,7 @@ import { defineConfig } from "$fresh/server.ts";
import ensureDatabases from "$root/databases/ensure.ts";
import { load } from "@std/dotenv";
await load({ envPath: "./.env.development.local", export: true });
await load({ envPath: "./.env", export: true });
await ensureDatabases();
export default defineConfig({
server: {