-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-node.js
29 lines (29 loc) · 1.05 KB
/
gatsby-node.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// This is for backward compatible when migration from Jekyll to Gatsby
exports.createPages = ({graphql, actions}) => {
const {createRedirect} = actions;
createRedirect({
fromPath: '/big-data/parser/sqllineage-a-sql-lineage-analysis-tool/',
toPath: '/blog/sqllineage-a-sql-lineage-analysis-tool/',
redirectInBrowser: true
});
createRedirect({
fromPath: '/python/unicode/how-python-does-unicode/',
toPath: '/blog/how-python-does-unicode/',
redirectInBrowser: true
});
createRedirect({
fromPath: '/kaggle/classification/kaggle-instacart-market-basket-analysis-retrospect/',
toPath: '/blog/kaggle-instacart-market-basket-analysis-retrospect/',
redirectInBrowser: true
});
createRedirect({
fromPath: '/big-data/log/a-review-of-log/',
toPath: '/blog/a-review-of-log/',
redirectInBrowser: true
});
createRedirect({
fromPath: '/web/realtime/to-build-a-real-time-system-starting-with-websocket/',
toPath: '/blog/to-build-a-real-time-system-starting-with-websocket/',
redirectInBrowser: true
});
}