Skip to content

Commit

Permalink
chore(url): change base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikram-Maulana committed Jan 25, 2024
1 parent 3de0fac commit 300df42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ export const metadata: Metadata = {
authors: [
{
name: "Ikram Maulana",
url: new URL(process.env.VERCEL_URL || "https://ikrammaulana.my.id"),
url: "https://ikrammaulana.my.id",
},
],
creator: "Ikram Maulana",
metadataBase: new URL(process.env.VERCEL_URL || "https://ikrammaulana.my.id"),
metadataBase: new URL("https://ikrammaulana.my.id"),
openGraph: {
type: "website",
locale: "id_ID",
title: "Ikram Maulana Portfolio",
description:
"Discover the simple personal portfolio of Ikram Maulana, a Full Stack Web Developer. Explore my collection of projects and skills in web development.",
url: new URL(process.env.VERCEL_URL || "https://ikrammaulana.my.id"),
url: "https://ikrammaulana.my.id",
images: [
{
url: "/og.jpg",
Expand Down
2 changes: 1 addition & 1 deletion src/app/robots.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MetadataRoute } from "next";

export default function robots(): MetadataRoute.Robots {
const baseUrl = process.env.VERCEL_URL || "http://localhost:3000";
const baseUrl = "https://ikrammaulana.my.id";

return {
rules: {
Expand Down
2 changes: 1 addition & 1 deletion src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { MetadataRoute } from "next";

export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = process.env.VERCEL_URL || "http://localhost:3000";
const baseUrl = "https://ikrammaulana.my.id";

return [
{
Expand Down

0 comments on commit 300df42

Please sign in to comment.