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:
Christopher (Cris) Fuhrman 2024-10-30 22:06:06 -04:00 committed by GitHub
commit 92b97681fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -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();
} }

View file

@ -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
},
}); });