Skip to content

Commit 6e2e37e

Browse files
author
Felipe Gonzalez Pierre Varela Lago
committed
ajuste
1 parent ec1595e commit 6e2e37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default class Server {
6565
origin: '*',
6666
}),
6767
);
68-
this.express.use('/image/', express.static('./assets/img'));
68+
this.express.use('/image', express.static(path.join(process.cwd(), 'assets', 'img')));
6969
dotenv.config();
7070
}
7171

0 commit comments

Comments
 (0)