mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Merge pull request #159 from ets-cfuhrman-pfe/ssl-changes
Enable source maps for Vite (frontend) to help debugging in the browser.
This commit is contained in:
commit
92b97681fc
2 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ const ManageRoom: React.FC = () => {
|
||||||
setQuiz(quiz as QuizType);
|
setQuiz(quiz as QuizType);
|
||||||
|
|
||||||
if (!socket) {
|
if (!socket) {
|
||||||
|
console.log(`no socket in ManageRoom, creating one.`);
|
||||||
createWebSocketRoom();
|
createWebSocketRoom();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,7 @@ export default defineConfig({
|
||||||
host: true,
|
host: true,
|
||||||
origin: "http://0.0.0.0:5173",
|
origin: "http://0.0.0.0:5173",
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
sourcemap: true, // Enable source maps
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue