luoyutianyang commited on
Commit
7cb6312
·
verified ·
1 Parent(s): e7e8397

Update egg-api.js

Browse files
Files changed (1) hide show
  1. egg-api.js +7 -7
egg-api.js CHANGED
@@ -1,10 +1,10 @@
1
- import express from 'express';
2
- import fs from 'fs';
3
- import path from 'path';
4
- import cv from 'opencv4nodejs';
5
- import Jimp from 'jimp';
6
- import axios from 'axios';
7
- import sharp from 'sharp';
8
 
9
  const app = express();
10
  const port = 7860;
 
1
+ const express = require('express');
2
+ const fs = require('fs');
3
+ const path = require('path');
4
+ const cv = require('opencv4nodejs');
5
+ const Jimp = require('jimp');
6
+ const axios = require('axios');
7
+ const sharp = require('sharp');
8
 
9
  const app = express();
10
  const port = 7860;