From 70320edf6c31f0083cca725b5e4d626149ba5665 Mon Sep 17 00:00:00 2001 From: Vladyslav Fedoriuk Date: Wed, 20 Sep 2023 00:49:03 +0200 Subject: [PATCH] Set base path to properly load JS and CSS --- .github/workflows/scraping.yaml | 2 +- frontend/next.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scraping.yaml b/.github/workflows/scraping.yaml index 02b4cb5..1bcb815 100644 --- a/.github/workflows/scraping.yaml +++ b/.github/workflows/scraping.yaml @@ -6,7 +6,7 @@ name: Scraping the repositories from Source Graph # # https://crontab.guru/#0_0_*_*_* # - cron: '0 0 * * *' -# TODO: split the commands to crapr repos and parse the dependencies +# TODO: split the commands to scrap repos and parse the dependencies # TODO: a job for index generation on: [push] diff --git a/frontend/next.config.js b/frontend/next.config.js index a35bfad..1b7d2e9 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: "export", + basePath: "/github-pages", }; module.exports = nextConfig;