Skip to content

Commit

Permalink
fix staticProps key (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy Brauner authored Oct 2, 2023
1 parent aab2eb9 commit 4880930
Show file tree
Hide file tree
Showing 5 changed files with 1,308 additions and 1,244 deletions.
2 changes: 1 addition & 1 deletion examples/example-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@cher-ami/router": "^3.0.0-beta.9",
"@cher-ami/router": "latest",
"gsap": "^3.10.4",
"isomorphic-unfetch": "^3.1.0",
"path-to-regexp": "^6.2.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-ssr/src/langServiceInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { LangService } from "@cher-ami/router";

export const langServiceInstance = (base = "/", url = window.location.pathname) =>
new LangService({
showDefaultLangInUrl: true,
showDefaultLangInUrl: false,
staticLocation: url,
languages,
base,
Expand Down
2 changes: 1 addition & 1 deletion examples/example-ssr/src/languages.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default [{ key: "fr" }, { key: "en", default: true }]
export default [{ key: "fr", default: true }, { key: "en" }]
Loading

0 comments on commit 4880930

Please sign in to comment.