build(ci): 修复构建问题。
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 8m24s
Some checks failed
🚀 Build and deploy by ftp / 🎉 Deploy (push) Failing after 8m24s
This commit is contained in:
parent
87f9e54318
commit
dc0969d175
@ -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/
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user