Skip to content
Snippets Groups Projects
Commit 856bbff4 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

comment

parent 5994b80e
No related branches found
No related tags found
1 merge request!451render page for linkedin
Pipeline #115362 passed
......@@ -82,6 +82,7 @@ export const sanitize = (str: string) => {
.replace(/[^\w\s-]/g, ''); // remove all non alphanumeric characters except spaces and dashes
};
/** Get page from the chrome container (used to get pdf or prerender pages) */
async function getPage(url: string): Promise<any> {
const browser = await connect({
// Default value for local dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment