fixed backend port for shifts

This commit is contained in:
2025-10-10 18:58:48 +02:00
parent 27eea33efc
commit 541af0afee
7 changed files with 34 additions and 9 deletions

View File

@@ -15,10 +15,7 @@ const app = express();
const PORT = 3002;
// CORS und Middleware
app.use(cors({
origin: 'http://localhost:3000',
credentials: true
}));
app.use(cors());
app.use(express.json());
// API Routes