fix: changed flag name to cross-origin-policy

This commit is contained in:
YuKun Liu committed 2023-05-06 19:37:36 -07:00
1 parent 4f95a0ba6b
commit b196affb02
5 files changed
+26 -48

No files matched your search

+3 -2
View File
@@ -77,10 +77,11 @@ pub struct ConfigOptsServe {
#[serde(default)]
pub hot_reload: bool,
/// Build with shared_array_buffer enabled in JS [default: false]
/// Set cross-origin-policy to same-origin [default: false]
#[clap(name="cross-origin-policy")]
#[clap(long)]
#[serde(default)]
pub shared_array_buffer: bool,
pub cross_origin_policy: bool,
/// Space separated list of features to activate
#[clap(long)]