Skip to content

Commit b516ce4

Browse files
committed
redirs
1 parent 5b1c8ce commit b516ce4

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineNuxtConfig({
1313
hooks: {
1414
"build:done"() {
1515
const file = redirects.map((redirect) => {
16-
return `${redirect.path} ${redirect.target} 200`;
16+
return `${redirect.path} ${redirect.target} 301`;
1717
}).join("\n");
1818

1919
fs.writeFileSync("public/_redirects",file);

public/_redirects

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
/meetup https://www.meetup.com/creativecodeberlin/ 200
2-
/ccs https://funprogramming.org/pad/p/ccs 200
3-
/archive https://creativecodeberlin.github.io/Stammtisch/ 200
4-
/jam https://funprogramming.org/pad/p/ccjam 200
5-
/twitter https://twitter.com/CreativeCodeBLN 200
6-
/chat https://funprogramming.org/chat 200
7-
/discord https://discord.gg/EnqmrU9 200
8-
/telegram https://t.me/creativecodeberlin 200
9-
/instagram https://www.instagram.com/creativecodebln/ 200
10-
/github https://github.com/CreativeCodeBerlin 200
11-
/learn https://sableraph.notion.site/Creative-Code-resources-for-beginners-and-beyond-p5-js-edition-38fce7d30b1d41a9a626ab70440f40ca 200
12-
/codeofconduct https://berlincodeofconduct.org 200
13-
/artwork https://creativecode.berlin/submit/ 200
1+
/meetup https://www.meetup.com/creativecodeberlin/ 301
2+
/ccs https://funprogramming.org/pad/p/ccs 301
3+
/archive https://creativecodeberlin.github.io/Stammtisch/ 301
4+
/jam https://funprogramming.org/pad/p/ccjam 301
5+
/twitter https://twitter.com/CreativeCodeBLN 301
6+
/chat https://funprogramming.org/chat 301
7+
/discord https://discord.gg/EnqmrU9 301
8+
/telegram https://t.me/creativecodeberlin 301
9+
/instagram https://www.instagram.com/creativecodebln/ 301
10+
/github https://github.com/CreativeCodeBerlin 301
11+
/learn https://sableraph.notion.site/Creative-Code-resources-for-beginners-and-beyond-p5-js-edition-38fce7d30b1d41a9a626ab70440f40ca 301
12+
/codeofconduct https://berlincodeofconduct.org 301
13+
/artwork https://creativecode.berlin/submit/ 301

0 commit comments

Comments
 (0)