Skip to content

Commit

Permalink
Add console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Nov 9, 2022
1 parent f327f08 commit f3e8952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/core-server/src/utils/server-statics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const parseStaticDir = async (arg: string) => {
const splitIndex = lastColonIndex !== -1 && !isWindowsRawDirOnly ? lastColonIndex : arg.length;

const targetRaw = arg.substring(splitIndex + 1) || '/';
const target = targetRaw.split(path.sep).join(path.posix.sep); // Ensure target has forward-slash path
const target = targetRaw.split(path.win32.sep).join(path.posix.sep); // Ensure target has forward-slash path

const rawDir = arg.substring(0, splitIndex);
const staticDir = path.isAbsolute(rawDir) ? rawDir : `./${rawDir}`;
Expand Down

0 comments on commit f3e8952

Please sign in to comment.