更新为新版本
This commit is contained in:
parent
18ef80557d
commit
1aa5ab42bf
@ -16,11 +16,8 @@ const app = express();
|
||||
|
||||
app.use(express.json());
|
||||
app.use(cors(corsOptions));
|
||||
app.use(bodyParser.json());
|
||||
app.use(bodyParser.urlencoded({ extended: true }));
|
||||
app.use(morgan('dev'));
|
||||
|
||||
|
||||
app.get('/', (req: Request, res: Response) => {
|
||||
res.send('<h1>Hello, World!</h1><br><img src="https://picx.zhimg.com/v2-b4251de7d2499e942c7ebf447a90d2eb_l.jpg"/>');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user