Skip to content

Commit

Permalink
esm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmetcalf committed Mar 25, 2024
1 parent 3bd810c commit c9ca28f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import express from 'express';
import morgan from 'morgan';
import path from 'path';
const app = express();
console.log('import.meta', import.meta)
console.log('dir', path.join(import.meta.dirname, '..'))
app.use(morgan('dev'));
app.use('/', express.static(path.join(import.meta.dirname, '..')));
app.listen(3000, () => {
Expand Down

0 comments on commit c9ca28f

Please sign in to comment.