Skip to content

Commit

Permalink
Merge pull request #31 from azachwill/devcommit34
Browse files Browse the repository at this point in the history
devcommit34
  • Loading branch information
awilliams1275 authored Aug 20, 2024
2 parents ba74490 + e3d5f35 commit b023fcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions _build/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ path = "/py/"

[[edge_functions]]
function = "redirect_article"
path = "/py/docs/*"

[[edge_functions]]
function = "redirect_article"
path = "/py/api/*"
path = "/*"

[[redirects]]
from = "http://shiny.rstudio.com/*"
Expand Down
6 changes: 1 addition & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ path = "/py/"

[[edge_functions]]
function = "redirect_article"
path = "/py/docs/*"

[[edge_functions]]
function = "redirect_article"
path = "/py/api/*"
path = "/*"

[[redirects]]
from = "http://shiny.rstudio.com/*"
Expand Down
2 changes: 1 addition & 1 deletion netlify/edge-functions/redirect_article.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default async (request, context) => {
return context.next();
};
export const config = {
path: ['/py/docs/*', '/py/api/*'],
path: ['/*'],
};

0 comments on commit b023fcd

Please sign in to comment.