Skip to content

Commit

Permalink
awe here we go again with this bullshit part 13
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Oct 1, 2024
1 parent 5168fee commit 0806283
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mvb.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const oexec = createExec({cwd: process.cwd(), debug});
const exec = createExec({cwd: options.tmpDir, debug});

// start it up
log('collecting version information from %s...', magenta(gitDir));
log('setting up mvb build environment using %s...', magenta(gitDir));

// lets make sure the source repo at least has all the tag information it needs
const updateArgs = ['fetch', 'origin', '--tags', '--no-filter'];
Expand Down
10 changes: 10 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@
[plugins.inputs]
skipPatterns = [ ".rss", ".gif", ".jpg", 'x.com', 'twitter.com', '/v/' ]
checkExternal = true

# mvb redirects
[[redirects]]
from = "/v/:version/v/"
to = "/v/"
status = 301
[[redirects]]
from = "/v/:first/v/:second/"
to = "/v/:second/"
status = 301

0 comments on commit 0806283

Please sign in to comment.