mirror of
https://github.com/saltbo/zpan.git
synced 2026-11-01 20:33:14 +08:00
605 B
605 B
Linux
# install service
curl -sSf https://dl.saltbo.cn/install.sh | sh -s zpan
# start service
systemctl start zpan
# check service status
systemctl status zpan
# set boot up
systemctl enable zpan
Docker
docker run -it -p 8222:8222 -v /etc/zpan:/etc/zpan --name zpan saltbo/zpan
CORS
!> Since we use browser-side direct transmission, there are cross-domain issues, please make the following cross-domain configuration
- Origin: http://your-domain
- AllowMethods: PUT
- AllowHeaders: content-type,content-disposition,x-amz-acl
Usage
visit http://localhost:8222