mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
fixed backend port for shifts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user