Skip to content

Commit

Permalink
fix: πŸ› update settings to have consistant start
Browse files Browse the repository at this point in the history
fix dev container debugging and animate layout

BREAKING CHANGE: 🧨 none

βœ… Closes: none
  • Loading branch information
JonathonRP committed Oct 20, 2024
1 parent 0be8c0f commit 0e62322
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5173],
// "appPort": [5000]
"forwardPorts": [5000],
// "appPort": [5000],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "corepack enable && corepack install && pnpm install",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/motion/AnimateLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
damping: 30,
};
let active = $state(false);
let active = false;
function toggleSwitch() {
active = !active;
Expand Down
5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ export default defineConfig({
enabled: true,
},
},
server: {
port: 5000,
strictPort: true,
host: '127.0.0.1',
},
});

0 comments on commit 0e62322

Please sign in to comment.