Merge remote-tracking branch 'upstream/pull/5735'
This commit is contained in:
commit
8665059a0c
1 changed files with 6 additions and 2 deletions
|
@ -2,11 +2,15 @@
|
||||||
"name": "OpenStreetMap",
|
"name": "OpenStreetMap",
|
||||||
"short_name": "OSM",
|
"short_name": "OSM",
|
||||||
"icons": <%= [36, 48, 72, 96, 144, 192].map { |res| {
|
"icons": <%= [36, 48, 72, 96, 144, 192].map { |res| {
|
||||||
src: image_path("android-chrome-#{res}x#{res}.png").gsub("/", "\\/"),
|
src: image_path("android-chrome-#{res}x#{res}.png"),
|
||||||
sizes: "#{res}x#{res}",
|
sizes: "#{res}x#{res}",
|
||||||
type: "image/png",
|
type: "image/png",
|
||||||
density: res.to_f / 48
|
density: res.to_f / 48
|
||||||
} }.to_json %>,
|
} }.push({
|
||||||
|
src: image_path("../images/osm_logo.svg"),
|
||||||
|
sizes: "any",
|
||||||
|
type: "image/svg+xml"
|
||||||
|
}).to_json %>,
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"theme_color": "#7ebc6f",
|
"theme_color": "#7ebc6f",
|
||||||
"background_color": "#fff",
|
"background_color": "#fff",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue