Skip to content

Commit

Permalink
docs(AppLinker): explicit correct url to generate web link
Browse files Browse the repository at this point in the history
new URL('cozy.tools') rejected errors of invalid url.
  • Loading branch information
vdnj committed Sep 1, 2022
1 parent 694d18c commit c5f2d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/AppLinker/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ensureFirstSlash = path => {
* generateWebLink - Construct a link to a web app
*
* @param {object} Options Object of options
* @param {string} options.cozyUrl Base URL of the cozy, eg. cozy.tools or test.mycozy.cloud
* @param {string} options.cozyUrl Base URL of the cozy, eg. http://cozy.localhost:8080 or https://test.mycozy.cloud:8080
* @param {string} options.nativePath Path inside the app, eg. /files/test.jpg
* @param {string} options.slug Slug of the app
* @param {string} options.subDomainType Whether the cozy is using flat or nested subdomains. Defaults to flat.
Expand Down

0 comments on commit c5f2d33

Please sign in to comment.