[FIX] The Prototype is now functional
This commit is contained in:
@@ -171,6 +171,14 @@ MySQL database connection configured in `api/config/database.php`:
|
|||||||
- **Test**: http://localhost:5173 - login with admin/password
|
- **Test**: http://localhost:5173 - login with admin/password
|
||||||
- **API base URL**: http://localhost:8000/api/
|
- **API base URL**: http://localhost:8000/api/
|
||||||
|
|
||||||
|
### Starting the PHP Server
|
||||||
|
|
||||||
|
For file uploads to work, start the server with the custom upload config:
|
||||||
|
```bash
|
||||||
|
cd api
|
||||||
|
php -c php-upload.ini -S localhost:8000 router.php
|
||||||
|
```
|
||||||
|
|
||||||
## Current Tech Stack (2024)
|
## Current Tech Stack (2024)
|
||||||
|
|
||||||
- **Frontend**: SvelteKit (NOT Vue.js 2) in `/partitions/`
|
- **Frontend**: SvelteKit (NOT Vue.js 2) in `/partitions/`
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const config = {
|
|||||||
'script-src': ['self', 'unsafe-inline'],
|
'script-src': ['self', 'unsafe-inline'],
|
||||||
'style-src': ['self', 'unsafe-inline'],
|
'style-src': ['self', 'unsafe-inline'],
|
||||||
'img-src': ['self', 'data:', 'blob:'],
|
'img-src': ['self', 'data:', 'blob:'],
|
||||||
'connect-src': ['self', 'http://localhost:8000', 'https://*.ohmj.fr'],
|
'connect-src': ['self', 'http://localhost:8000', 'https://*.ohmj.fr', 'blob:'],
|
||||||
'font-src': ['self'],
|
'font-src': ['self'],
|
||||||
'object-src': ['none'],
|
'object-src': ['none'],
|
||||||
'frame-ancestors': ['none'],
|
'frame-ancestors': ['none'],
|
||||||
|
|||||||
Reference in New Issue
Block a user