Skip to content

Commit

Permalink
Fix error in landingpage + remove .env
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisotee committed Jan 21, 2025
1 parent d9be9c4 commit 19711d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion apps/landingpage/.env.example

This file was deleted.

File renamed without changes.
8 changes: 4 additions & 4 deletions apps/landingpage/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import { resolve } from "node:path";
import { URL, fileURLToPath } from "node:url";
import { config } from "@eda/config";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
server: {
host: "::",
port: "8081",
port: config.ports.landingpage,
},
define: {
"process.env.VITE_OPENPANEL_CLIENT_ID": JSON.stringify(
process.env.VITE_OPENPANEL_CLIENT_ID,
config.api_keys.openpanel.client_id,
),
},
base: process.env.BASE_URL || "/",
base: "/",
plugins: [react()],
resolve: {
alias: [
Expand Down

0 comments on commit 19711d3

Please sign in to comment.