route for /.well-known fails to match #11783
Unanswered
thinkmorestupidless
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I think you need to escape the . (dot) as I seem to remember it is a sort
of regular expression (ie *file for example).
…On Mon, 1 May 2023 at 18:10, Trevor Burton-McCreadie < ***@***.***> wrote:
I'm attempting to set up universal links for iOS and need to serve a file
from /.well-known/apple-app-site-association - but this line in my route
file
GET /.well-known/*file controllers.Assets.versioned(path="/public/.well-known", file: Asset)
doesn't seem to want to match
if i remove the period (so the path is /well-known/*file) then it
matches...
is this me missing something obvious?
—
Reply to this email directly, view it on GitHub
<#11783>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMF7LVSMKHI4UKESGZNADXD7N6HANCNFSM6AAAAAAXR5HLFM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Nicolas Leroux
|
Beta Was this translation helpful? Give feedback.
2 replies
-
I faced the same issue and I just removed the dot in the name of the folder:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm attempting to set up universal links for iOS and need to serve a file from
/.well-known/apple-app-site-association
- but this line in my route filedoesn't seem to want to match
if i remove the period (so the path is
/well-known/*file
) then it matches...is this me missing something obvious?
Beta Was this translation helpful? Give feedback.
All reactions