Fix web server url patterns

This commit is contained in:
Akim Mamedov 2023-12-19 18:46:41 +07:00
parent 165e96b702
commit 1e42e58a83

View File

@ -62,13 +62,13 @@ export const startContentServer = (
destination: "/source/index.min.js",
},
{
source: "/@fluencelabs/:name([\\w-]+)@:version([\\d.]+)/dist/:asset",
source: "/@fluencelabs/:name([\\w-]+)@:version([\\w-.]+)/dist/:asset",
destination:
"/node_modules/@fluencelabs/js-client-isomorphic/node_modules/@fluencelabs/:name/dist/:asset",
},
{
source:
"/@fluencelabs/:name([\\w-]+)@:version([\\d.]+)/dist/:prefix/:asset",
"/@fluencelabs/:name([\\w-]+)@:version([\\w-.]+)/dist/:prefix/:asset",
destination:
"/node_modules/@fluencelabs/js-client-isomorphic/node_modules/@fluencelabs/:name/dist/:prefix/:asset",
},