serve
serve copied to clipboard
Symlinks option is rejected when included in "serve.json"
trafficstars
Hi,
From what I can tell, the @zeit/schemas/deployment/config-static is being used as the validation schema for serve but this does not list symlinks as a supported option resulting in the following error output to the command line:
INFO: Discovered configuration in `serve.json`
ERROR: The configuration you provided is wrong:
should NOT have additional properties
{"additionalProperty":"symlinks"}
Thanks.
FYI. You can use the command line option --symlinks as a work around.
shameless self-promotion alert:
this feature is fixed in my @warren-bank/serve fork of serve
FYI. You can use the command line option
--symlinksas a work around.
Sure you can, but serve will completely ignore it and not follow symlinks.