🧃 Worker is... working.
This commit is contained in:
@@ -15,7 +15,7 @@ const port: number = Number(process.env.PORT) || 8050; // set our port
|
||||
|
||||
// Send index.html on root request
|
||||
app.use(express.static("dist"));
|
||||
app.use(express.static("src/client/workers"));
|
||||
|
||||
app.get("/", (req: Request, res: Response) => {
|
||||
console.log("sending index.html");
|
||||
res.sendFile("/dist/index.html");
|
||||
|
||||
@@ -223,8 +223,6 @@ export const explodePath = (filePath: string): IExplodedPathResponse => {
|
||||
const constructPaths = (extractionOptions: IExtractionOptions) => {
|
||||
return {
|
||||
targetPath:
|
||||
extractionOptions.sourceFolder +
|
||||
"/" +
|
||||
extractionOptions.targetExtractionFolder +
|
||||
"/" +
|
||||
extractionOptions.folderDetails.name,
|
||||
|
||||
Reference in New Issue
Block a user