maybe??
This commit is contained in:
parent
8c892f42e9
commit
159770e793
@ -317,9 +317,9 @@ export const dashboardRoutes = (fastify, _, done) => {
|
|||||||
if (env.CERTS_URL) {
|
if (env.CERTS_URL) {
|
||||||
const resp = await fetch(`http://${env.CERTS_URL}/provision`, {
|
const resp = await fetch(`http://${env.CERTS_URL}/provision`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: {
|
body: JSON.stringify({
|
||||||
domain: req.body.domain
|
domain: req.body.domain
|
||||||
}
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(await resp.text());
|
console.log(await resp.text());
|
||||||
|
Loading…
Reference in New Issue
Block a user