Skip to content

Commit b99cdda

Browse files
Migrate best practices to our editor (#9362)
* Add best practices * Migrate best practices to editor
1 parent 89895fc commit b99cdda

20 files changed

+198
-40
lines changed

.astro/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"enabled": false
44
},
55
"_variables": {
6-
"lastUpdateCheck": 1762257454897
6+
"lastUpdateCheck": 1763378528944
77
}
88
}

.astro/types.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/// <reference types="astro/client" />
2+
/// <reference path="content.d.ts" />

astro.config.mjs

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,29 @@ export default defineConfig({
2020
status: 301,
2121
destination: '/ai',
2222
},
23-
},
24-
vite: {
25-
server: {
26-
allowedHosts: ['roadmap.sh', 'port3k.kamranahmed.info'],
23+
'/best-practices': {
24+
status: 301,
25+
destination: '/roadmaps',
26+
},
27+
'/best-practices/aws': {
28+
status: 301,
29+
destination: '/aws-best-practices',
30+
},
31+
'/best-practices/backend-performance': {
32+
status: 301,
33+
destination: '/backend-performance-best-practices',
34+
},
35+
'/best-practices/frontend-performance': {
36+
status: 301,
37+
destination: '/frontend-performance-best-practices',
38+
},
39+
'/best-practices/api-security': {
40+
status: 301,
41+
destination: '/api-security-best-practices',
42+
},
43+
'/best-practices/code-review': {
44+
status: 301,
45+
destination: '/code-review-best-practices',
2746
},
2847
},
2948
markdown: {
@@ -72,5 +91,8 @@ export default defineConfig({
7291
ssr: {
7392
noExternal: [/^@roadmapsh\/editor.*$/],
7493
},
94+
server: {
95+
allowedHosts: ['roadmap.sh', 'port3k.kamranahmed.info'],
96+
},
7597
},
7698
});
51.5 KB
Binary file not shown.
52.8 KB
Binary file not shown.
51.3 KB
Binary file not shown.
51.3 KB
Binary file not shown.
284 KB
Loading
276 KB
Loading
333 KB
Loading

0 commit comments

Comments
 (0)