This commit is contained in:
Patrick Lambino
2026-04-01 20:59:34 +08:00
parent 609d806f3f
commit 37321c19ed
3 changed files with 7 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ function App() {
<main>
<Hero />
<About />
<Projects />
<Skills />
<Contact />

View File

@@ -14,8 +14,8 @@ export function Navigation() {
const navLinks = [
{ name: 'About', href: '#about' },
{ name: 'Skills', href: '#skills' },
{ name: 'Projects', href: '#projects' },
{ name: 'Skills', href: '#skills' },
{ name: 'Contact', href: '#contact' },
];

View File

@@ -91,15 +91,17 @@ export default defineConfig(({ mode }) => {
},
},
server: {
origin: 'https://portfolio.patricklmbn.online',
// Use undefined origin in development to allow loading from localhost.
origin: mode === 'development' ? undefined : 'https://portfolio.patricklmbn.online',
allowedHosts: true,
host: true,
port: 5412,
port: 5412,
strictPort: true,
cors: true,
hmr: {
host: 'portfolio.patricklmbn.online',
clientPort: 443,
// Use localhost for HMR when in development mode for better reliability.
host: mode === 'development' ? 'localhost' : 'portfolio.patricklmbn.online',
clientPort: mode === 'development' ? 5412 : 443,
}
}
}