remove tailwind and ssl cert

This commit is contained in:
Tilman Behrend 2025-09-22 13:12:10 +02:00
parent 825f1899ea
commit 2436d8fe4e
2 changed files with 7 additions and 7 deletions

View file

@ -8,8 +8,8 @@ import tailwindcss from "@tailwindcss/vite";
import fs from "fs";
// Pfade zu deinen MAMP-Zertifikaten
const certPath = "/Applications/MAMP/Library/OpenSSL/certs/thats-me.test.crt";
const keyPath = "/Applications/MAMP/Library/OpenSSL/certs/thats-me.test.key";
// const certPath = "/Applications/MAMP/Library/OpenSSL/certs/thats-me.test.crt";
// const keyPath = "/Applications/MAMP/Library/OpenSSL/certs/thats-me.test.key";
export default defineConfig({
plugins: [
@ -20,10 +20,10 @@ export default defineConfig({
tailwindcss(),
],
server: {
https: {
key: fs.readFileSync(keyPath),
cert: fs.readFileSync(certPath),
},
// https: {
// key: fs.readFileSync(keyPath),
// cert: fs.readFileSync(certPath),
// },
cors: true, // Ergänze diese Zeile
host: "192.168.1.8",
port: 5173,

View file

@ -1,6 +1,6 @@
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import tailwindcss from "@tailwindcss/vite";
// import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [