build(ci): 修复构建问题。
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 8m24s

This commit is contained in:
Ivan Li 2023-09-10 11:29:01 +00:00
parent 87f9e54318
commit dc0969d175
2 changed files with 3 additions and 2 deletions

View File

@ -29,5 +29,6 @@ jobs:
server: ${{ secrets.ftp_server }} server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }} username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }} password: ${{ secrets.ftp_password }}
protocol: ftp
server-dir: ./WEB/ server-dir: ./WEB/
local-dir: ./out/ local-dir: ./out/

View File

@ -1,5 +1,5 @@
import NextImage, { ImageProps } from 'next/image'; import { Attributes } from 'react';
const Image = ({ ...rest }: ImageProps) => <NextImage {...rest} />; const Image = ({ ...rest }: Attributes) => <img {...rest} />;
export default Image; export default Image;