last fix
This commit is contained in:
@@ -13,7 +13,6 @@ function App() {
|
||||
<main>
|
||||
<Hero />
|
||||
<About />
|
||||
|
||||
<Projects />
|
||||
<Skills />
|
||||
<Contact />
|
||||
|
||||
@@ -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' },
|
||||
];
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user