fix(monolith): quote url
when url include ampersand shell fails ``` /bin/sh: 1: amp: not found /bin/sh: 1: -j: not found Uncaught Monolith error... ```
This commit is contained in:
parent
95dddd7da0
commit
1609868149
|
@ -8,7 +8,7 @@ const handleMonolith = async (link: Link, content: string) => {
|
|||
|
||||
try {
|
||||
let html = execSync(
|
||||
`monolith - -I -b ${link.url} ${
|
||||
`monolith - -I -b "${link.url}" ${
|
||||
process.env.MONOLITH_CUSTOM_OPTIONS || "-j -F -s"
|
||||
} -o -`,
|
||||
{
|
||||
|
|
Ŝarĝante…
Reference in New Issue