primate 0.31.11 → 0.31.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primate",
3
- "version": "0.31.11",
3
+ "version": "0.31.13",
4
4
  "description": "Polymorphic development platform",
5
5
  "homepage": "https://primatejs.com",
6
6
  "bugs": "https://github.com/primatejs/primate/issues",
@@ -4,7 +4,7 @@ import o from "rcompat/object";
4
4
  export default app => async original => {
5
5
  const { headers } = original;
6
6
 
7
- const url = new URL(globalThis.decodeURIComponent(original.url));
7
+ const url = new URL(original.url);
8
8
  const cookies = headers.get("cookie");
9
9
 
10
10
  return { original, url,
@@ -40,6 +40,8 @@ const post = async app => {
40
40
 
41
41
  // copy additional subdirectories to build/server
42
42
  await copy_includes(app, location.server);
43
+ // copy additional subdirectories to build
44
+ await copy_includes(app, "");
43
45
 
44
46
  if (await app.path.components.exists()) {
45
47
  // copy components to build/components