fix: solid-event#36
This commit is contained in:
parent
ecf8ad81d2
commit
9371f5d46f
@ -267,7 +267,8 @@ Eg.:
|
|||||||
"get": "http://server.url/events/",
|
"get": "http://server.url/events/",
|
||||||
"post": "http://server.url/events/",
|
"post": "http://server.url/events/",
|
||||||
"typeevents": "http://server.url/typeevents/",
|
"typeevents": "http://server.url/typeevents/",
|
||||||
"postTypeevents": "http://server.url/typeevents/"
|
"postTypeevents": "http://server.url/typeevents/",
|
||||||
|
"uploads": "http://server.url/upload/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -335,7 +336,8 @@ Module declaration, on `config.json`:
|
|||||||
"get": "http://server.url/events/",
|
"get": "http://server.url/events/",
|
||||||
"post": "http://server.url/events/",
|
"post": "http://server.url/events/",
|
||||||
"typeevents": "http://server.url/typeevents/",
|
"typeevents": "http://server.url/typeevents/",
|
||||||
"postTypeevents": "http://server.url/typeevents/"
|
"postTypeevents": "http://server.url/typeevents/",
|
||||||
|
"uploads": "http://server.url/upload/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -4,7 +4,13 @@ script(type="module" src="https://cdn.skypack.dev/@startinblox/core@0.16" defer)
|
|||||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/router@0.11" defer)
|
script(type="module" src="https://cdn.skypack.dev/@startinblox/router@0.11" defer)
|
||||||
//- script(type="module" src="/lib/sib-router/src/index.js" defer)
|
//- script(type="module" src="/lib/sib-router/src/index.js" defer)
|
||||||
|
|
||||||
- const componentSet = new Set(components.map(c=>c.type));
|
-
|
||||||
|
const componentSet = new Set(components.map(c=>c.type));
|
||||||
|
components.map(c => {
|
||||||
|
if(c.extensions) {
|
||||||
|
c.extensions.forEach(e => componentSet.add(e.type));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if componentSet.has("autoLogin") || componentSet.has("registering")
|
if componentSet.has("autoLogin") || componentSet.has("registering")
|
||||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/oidc@0.14" defer)
|
script(type="module" src="https://cdn.skypack.dev/@startinblox/oidc@0.14" defer)
|
||||||
|
Loading…
Reference in New Issue
Block a user