F-Droid Devs

105 Members
F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://matrix.f-droid.org/alias/%23fdroid-dev:f-droid.org 17 Servers

Load older messages


SenderMessageTime
12 Dec 2018
@freenode_etue:matrix.orgetue joined the room.19:29:26
@eighthave:matrix.org_hc vanitasvitae: did you see my comment on w!337 19:30:15
@mathijs:matrix.vgorcum.comMathijsalright, MR made19:30:24
@freenode_[gibot]:matrix.org[gibot][website] !337: build metadata reference: add keywords which shal… - https://gitlab.com/fdroid/fdroid-website/merge_requests/33719:30:16
@eighthave:matrix.org_hcand merged 😀19:31:37
@freenode_TobiasK:matrix.orgTobiasK left the room.20:05:07
@freenode_TobiasK:matrix.orgTobiasK joined the room.20:06:58
@freenode_etue:matrix.orgetue left the room.21:06:09
@freenode_etue:matrix.orgetue joined the room.21:06:36
@mathijs:matrix.vgorcum.comMathijsperfect, thanks21:08:51
@freenode_etue:matrix.orgetue left the room.21:11:19
@freenode_etue:matrix.orgetue joined the room.21:11:40
@freenode_etue:matrix.orgetue left the room.21:12:56
@freenode_etue:matrix.orgetue joined the room.21:13:17
@freenode_etue:matrix.orgetue left the room.21:24:40
@freenode_etue:matrix.orgetue joined the room.21:25:04
@mathijs:matrix.vgorcum.comMathijs I almost forgot: the .well-known file that just got merged needs access-control-allow-origin * in the header 21:26:02
@mathijs:matrix.vgorcum.comMathijsbut I don't think I can do that via the gitlab repo21:26:16
@mathijs:matrix.vgorcum.comMathijs

I have this in my apache config:

Alias /.well-known/matrix/client /var/www/matrix/.well-known/matrix/client
<Location /.well-known/matrix/client>
    Options None
    AllowOverride None
    Header set Content-Type "application/json"
    Header set Access-Control-Allow-Origin "*"
</Location>
21:27:43
@eighthave:matrix.org_hc Mathijs: it shouldn't need an Alias if the real path matches, like in f-droid.org 21:59:06
@eighthave:matrix.org_hcmy guess is that those Headers are not required21:59:39
@eighthave:matrix.org_hcyou can test on staging: https://staging.f-droid.org/.well-known/matrix/client22:00:12
@freenode_S007:matrix.orgS007 joined the room.22:32:11
@freenode_etue:matrix.orgetue left the room.22:44:38
@mathijs:matrix.vgorcum.comMathijs
In reply to @eighthave:matrix.org
Mathijs: it shouldn't need an Alias if the real path matches, like in f-droid.org
oh, yes, I use an alias in my config, but you're right, of course, it should be fine without the alias for f-droid.org
23:06:15
@freenode_etue:matrix.orgetue joined the room.23:12:19
@mathijs:matrix.vgorcum.comMathijs
In reply to @eighthave:matrix.org
my guess is that those Headers are not required
The header Content-Type "application/json" is indeed not required (but it makes firefox show the json all pretty)
23:15:06
@mathijs:matrix.vgorcum.comMathijs but the Header set Access-Control-Allow-Origin "*" is actually required for the .well-known file 23:15:25
@mathijs:matrix.vgorcum.comMathijsthat's required because you can use riot-web in the browser, and that will then try to access the .well-known file cross-origin23:17:06
@mathijs:matrix.vgorcum.comMathijs

so I would guess this would be enough:

<Location /.well-known/matrix/client>
    Header set Access-Control-Allow-Origin "*"
</Location>
23:18:05

Show newer messages


Back to Room ListRoom Version: 1