This commit is contained in:
2025-11-25 22:41:29 +00:00
parent 12cf1aef62
commit d448eeff90
4 changed files with 13 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ http {
ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;
location / {
try_files $uri $uri/ =404;
try_files $uri $uri/ /index.html;
}
location ~ /.well-known/acme-challenge/ {

View File

@@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AF</title>
<link rel="icon" type="/img/x-icon" href="/img/favicon.ico" />
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/styles.css" />
</head>
<body>

View File

@@ -17,6 +17,16 @@ const router = createRouter({
// which is lazy-loaded when the route is visited.
component: () => import("../views/CV.vue"),
},
{
path: "/bookmarks",
name: "bookmarks",
component: () => import("../views/Bookmarks.vue"),
},
{
path: "/:pathMatch(.*)*",
name: "404",
component: () => import("../views/404.vue"),
},
],
});

View File

@@ -10,10 +10,10 @@ import CurrentlyListening from "@/components/CurrentlyListening.vue";
<p>Hi im Adam</p>
<h2>cv</h2>
<RouterLink to="/cv">CV</RouterLink>
<RouterLink to="/cv">cv</RouterLink>
<h2>bookmarks</h2>
<a href="/pages/bookmarks.html">bookmarks</a>
<RouterLink to="/bookmarks">bookmarks</RouterLink>
<CurrentlyListening />