From a5dc2bcdd812083e7e1c33ca96675c3a064683fd Mon Sep 17 00:00:00 2001 From: ilsubyeega-desu <37479424+ilsubyeega@users.noreply.github.com> Date: Sat, 17 Apr 2021 20:58:59 +0900 Subject: [PATCH 1/2] Fix mobile url --- docs/using-screenshot/index.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/using-screenshot/index.md b/docs/using-screenshot/index.md index c32f03c..8ade089 100644 --- a/docs/using-screenshot/index.md +++ b/docs/using-screenshot/index.md @@ -23,18 +23,18 @@ Every website screenshot image files will be cached on the CDN for 1 month. ## Parameters -### device=mobile - -Get a mobile version. - -`/screenshot/device=mobile/:url` - ### full=true Get a full page version. `/screenshot/full=true/:url` +### mobile (path) + +Get a mobile version. + +`/screenshot/mobile/:url` + ### pdf (path) Getting PDF version. From f0dfe5bbf7b8f6ea3b94e205f399d005adb1965a Mon Sep 17 00:00:00 2001 From: ilsubyeega-desu <37479424+ilsubyeega@users.noreply.github.com> Date: Sat, 17 Apr 2021 21:02:28 +0900 Subject: [PATCH 2/2] Fix image path and remove parameter notice --- docs/using-screenshot/index.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/using-screenshot/index.md b/docs/using-screenshot/index.md index 8ade089..6e34e56 100644 --- a/docs/using-screenshot/index.md +++ b/docs/using-screenshot/index.md @@ -41,18 +41,12 @@ Getting PDF version. `/screenshot/pdf/:url` -### Combine params - -Params can be combined using commas and after /screenshot/ path. - -`/screenshot/device=mobile,full=true/:url` - ## Live Demo `/screenshot/dev.to` ![Screenshot](https://cdn.statically.io/screenshot/dev.to) -`/screenshot/device=mobile/dev.to` +`/screenshot/mobile/dev.to` -![Screenshot (mobile)](https://cdn.statically.io/screenshot/device=mobile/dev.to) +![Screenshot (mobile)](https://cdn.statically.io/screenshot/mobile/dev.to)