Skip to content

Commit

Permalink
fix: apple-app-site-association
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-Fabi committed May 20, 2024
1 parent 8331544 commit d117192
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions compose-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ services:
path: package.json
- action: rebuild
path: angular.json
- action: rebuild
path: nginx.conf
- action: rebuild
path: ./public

ports:
- '4200:80'
9 changes: 4 additions & 5 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ server {
root /var/www/kellner-web;
index index.html;

# APP REDIRECTS
location ~ ^(/.well-known)?/apple-app-site-association$ {
alias /var/www/public/;
index apple-app-site-association.json;
autoindex on;
# APP DEEPLINK ASSOCIATIONS
location = /.well-known/apple-app-site-association {
alias /var/www/public/apple-app-site-association.json;
default_type application/json;
}

location = /.well-known/assetlinks.json {
Expand Down

0 comments on commit d117192

Please sign in to comment.