🧃 Worker is... working.

This commit is contained in:
2021-04-28 00:19:52 -07:00
parent 2013d37b45
commit 7031c5cd40
8 changed files with 35 additions and 12 deletions

View File

@@ -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");

View File

@@ -223,8 +223,6 @@ export const explodePath = (filePath: string): IExplodedPathResponse => {
const constructPaths = (extractionOptions: IExtractionOptions) => {
return {
targetPath:
extractionOptions.sourceFolder +
"/" +
extractionOptions.targetExtractionFolder +
"/" +
extractionOptions.folderDetails.name,