randydev commited on
Commit
2994d60
·
verified ·
1 Parent(s): 75bb91d

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -1,5 +1,5 @@
1
  import express from 'express';
2
- import swaggerDocument from './swagger.json';
3
  const app = express()
4
 
5
  import * as swaggerUi from 'swagger-ui-express';
 
1
  import express from 'express';
2
+ import swaggerDocument from './swagger.json' assert { type: 'json' };
3
  const app = express()
4
 
5
  import * as swaggerUi from 'swagger-ui-express';