mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-29 12:10:22 +02:00
Add redirect from devops guide
This commit is contained in:
@@ -3,6 +3,6 @@
|
|||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"_variables": {
|
"_variables": {
|
||||||
"lastUpdateCheck": 1741697790683
|
"lastUpdateCheck": 1742812122664
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -11,12 +11,15 @@ import react from '@astrojs/react';
|
|||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://roadmap.sh/',
|
site: 'https://roadmap.sh/',
|
||||||
|
redirects: {
|
||||||
|
'/devops/devops-engineer': {
|
||||||
|
status: 301,
|
||||||
|
destination: '/devops',
|
||||||
|
},
|
||||||
|
},
|
||||||
vite: {
|
vite: {
|
||||||
server: {
|
server: {
|
||||||
allowedHosts: [
|
allowedHosts: ['roadmap.sh', 'port3k.kamranahmed.info'],
|
||||||
'roadmap.sh',
|
|
||||||
'port3k.kamranahmed.info',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
|
@@ -1,14 +1,9 @@
|
|||||||
---
|
|
||||||
const page = Astro.url;
|
|
||||||
---
|
|
||||||
|
|
||||||
<script async src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'
|
<script async src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'
|
||||||
></script>
|
></script>
|
||||||
<script async>
|
<script async>
|
||||||
const ignoredPages = [
|
const ignoredPages = [
|
||||||
'login',
|
'login',
|
||||||
'signup',
|
'signup',
|
||||||
'roadmaps',
|
|
||||||
'best-practices',
|
'best-practices',
|
||||||
'guides',
|
'guides',
|
||||||
'videos',
|
'videos',
|
||||||
|
@@ -5,6 +5,8 @@ import { getGuideById } from '../../lib/guide';
|
|||||||
import { getOpenGraphImageUrl } from '../../lib/open-graph';
|
import { getOpenGraphImageUrl } from '../../lib/open-graph';
|
||||||
import { replaceVariables } from '../../lib/markdown';
|
import { replaceVariables } from '../../lib/markdown';
|
||||||
|
|
||||||
|
export const prerender = false;
|
||||||
|
|
||||||
const guideId = 'devops-engineer';
|
const guideId = 'devops-engineer';
|
||||||
const guide = await getGuideById(guideId);
|
const guide = await getGuideById(guideId);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user