diff --git a/CHANGELOG.md b/CHANGELOG.md index e3ebdcf4..c7521e20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to ## [Unreleased] +### Added + +- ✨(frontend) expose Windows app web link #976 + ### Changed - ✨(frontend) add clickable settings general link in idle modal #974 diff --git a/src/frontend/default.conf b/src/frontend/default.conf index c2e7ef7e..e9617b4f 100644 --- a/src/frontend/default.conf +++ b/src/frontend/default.conf @@ -5,6 +5,12 @@ server { root /usr/share/nginx/html; + location = /.wellknown/windows-app-web-link { + default_type application/json; + alias /usr/share/nginx/html/.wellknown/windows-app-web-link; + add_header Content-Disposition "attachment; filename=windows-app-web-link"; + } + # Serve static files with caching location ~* ^/assets/.*\.(css|js|json|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ { expires 30d; diff --git a/src/frontend/public/.wellknown/windows-app-web-link b/src/frontend/public/.wellknown/windows-app-web-link new file mode 100644 index 00000000..e5cc1157 --- /dev/null +++ b/src/frontend/public/.wellknown/windows-app-web-link @@ -0,0 +1,6 @@ +[ +{ + "packageFamilyName" : "Visio_g3z6ba6vek6vg", + "paths" : [ "*" ] +} +]