You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Ionic + Capacitor IOS builds the www directory is called public.
If the www directory name could be specified in the config, then Ionic + Capacitor users could benefit from this plugin.
To maintain backwards compatibility for Cordova users, a www_dir_name variable could be added to the config that would allow the user to specify the name of the www directory:
varcapacitorCompatibleConfig={'www_dir_name': 'public',// NEW: Use "public" instead of "www"'www_root': '',// Defaults to www_dir_name, which is now "public".'port': 8888,'localhost_only': false};// Backwards compatible defaults for Cordova usersvardefault={'www_dir_name': 'www',// Set default to www'www_root': '',// Defaults to www_dir_name, which is www'port': 8888,'localhost_only': false};
Both this issue and this issue will need to be resolved to fully support Ionic + Capacitor builds.
The text was updated successfully, but these errors were encountered:
In Ionic + Capacitor IOS builds the
www
directory is calledpublic
.If the
www
directory name could be specified in the config, then Ionic + Capacitor users could benefit from this plugin.To maintain backwards compatibility for Cordova users, a
www_dir_name
variable could be added to the config that would allow the user to specify the name of thewww
directory:Both this issue and this issue will need to be resolved to fully support Ionic + Capacitor builds.
The text was updated successfully, but these errors were encountered: