/
githubmirror
/
stackwise
Обзор
Документация
Войти
/
githubmirror
/
stackwise
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
next.config.js
62 строки
2 KB
Silen Naihin
moving files to root
17 фев 2024, 21:26
17 фев 2024, 21:26
7f5dc43
Код
Авторство
О чём код?
/** @type {import('next').NextConfig} */ const nextConfig = { async redirects() { return [ { source: '/', destination: 'https://github.com/stackwiseai/stackwise', permanent: true, }, { source: '/stack', destination: '/stacks', permanent: true, }, // these are the old uuid-slugged links which were published // these redirects keep the old links working and we can still use the new slugs { source: '/stacks/gbkm2sk', destination: '/stacks/chat-with-openai-streaming', permanent: true, }, { source: '/stacks/aekmwsk', destination: '/stacks/elevenlabs-tts', permanent: true, }, { source: '/stacks/fedcba5', destination: '/stacks/get-image-description-openai', permanent: true, }, { source: '/stacks/abc1234', destination: '/stacks/use-openai-assistant', permanent: true, }, { source: '/stacks/blkfsSK', destination: '/stacks/create-ai-canvas', permanent: true, }, { source: '/stacks/ayqflsq', destination: '/stacks/chat-with-openai-streaming-helicone', permanent: true, }, { source: '/stacks/e4w5wrc', destination: '/stacks/stable-video-diffusion', permanent: true, }, { source: '/stacks/f2w5orq', destination: '/stacks/basic-gemini-vision', permanent: true, }, ]; }, }; module.exports = nextConfig;