Skip to content

Commit bb79aca

Browse files
committed
feat: implement HSTK token claim flow with L1/L2 wallet support
1 parent 3cbd32d commit bb79aca

File tree

2 files changed

+522
-7
lines changed

2 files changed

+522
-7
lines changed

next.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ let basePath = '';
88

99
// Only apply GitHub Pages settings when on production branch in GitHub Actions
1010
if (isGithubActions && isProductionBranch) {
11-
// Since we already have a /provisions route in the app, we'll use the root path
12-
// for GitHub Pages deployment to avoid double paths
13-
assetPrefix = '/';
14-
basePath = '';
11+
const repo = process.env.GITHUB_REPOSITORY.replace(/.*?\//, '');
12+
assetPrefix = `/${repo}/`;
13+
basePath = `/${repo}`;
1514
}
1615

1716
module.exports = {

0 commit comments

Comments
 (0)