Skip to content

Commit

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

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

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

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

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

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

[[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: ['/py/docs/*', '/py/api/*'],
};

0 comments on commit ba74490

Please sign in to comment.