Skip to content

Commit bc1b329

Browse files
authored
fix: broken link (#46)
1 parent 7cb05c8 commit bc1b329

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config = {
2828
// External links
2929
links: {
3030
github: "https://github.com/natebwangsut",
31-
instagram: "https://stagram.com/natebwangsut",
31+
instagram: "https://instagram.com/natebwangsut",
3232
linkedin: "https://linkedin.com/in/natebwangsut/",
3333
twitter: "https://twitter.com/natebwangsut",
3434
},
@@ -43,7 +43,7 @@ if (config.pathPrefix !== "/") {
4343
}
4444

4545
// Make sure siteUrl doesn't have an ending forward slash
46-
if (config.siteUrl.substr(-1) === "/")
46+
if (config.siteUrl.endsWith("/"))
4747
config.siteUrl = config.siteUrl.slice(0, -1);
4848

4949
export default config;

0 commit comments

Comments
 (0)