I don't know what I did anymore
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"express": "^4.21.1",
|
||||
"jquery": "^3.7.1"
|
||||
}
|
||||
}
|
||||
|
||||
11
server.js
Normal file
11
server.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import express from 'express';
|
||||
import { handler } from './build/handler.js';
|
||||
|
||||
const app = express();
|
||||
const port = 80;
|
||||
|
||||
app.use(handler);
|
||||
|
||||
app.listen(port, '0.0.0.0', () => {
|
||||
console.log(`Server is running on http://localhost:${port}`);
|
||||
});
|
||||
@@ -4,6 +4,4 @@
|
||||
|
||||
</script>
|
||||
|
||||
<button on:click={() => {scoreStore.reset()}}>Clear leaderboard</button>
|
||||
|
||||
<LeaderBoard bind:scores={$scoreStore}></LeaderBoard>
|
||||
@@ -102,7 +102,6 @@
|
||||
border-radius: 10px;
|
||||
background-color: #f1ecec;
|
||||
border: 2px solid #A1674A;
|
||||
background-size: 1800% 1800%;
|
||||
box-shadow: 0 0 10px #343232;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,4 +6,4 @@ export default defineConfig({
|
||||
test: {
|
||||
include: ['src/**/*.{test,spec}.{js,ts}']
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user