Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
fix: serve app using port 8080
Browse files Browse the repository at this point in the history
Sorry, I do not have time to change the CORS of my server every time
Vite decides to change the port of the development server. So I'm
putting the port 8080 because this is what is currently opened in my
CORS profile for the makigas.es API.
  • Loading branch information
danirod committed Jul 27, 2022
1 parent f13d37a commit d07d270
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ import { svelte } from "@sveltejs/vite-plugin-svelte";

export default defineConfig({
plugins: [svelte()],
server: {
port: 8080,
},
});

0 comments on commit d07d270

Please sign in to comment.