Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added headers to config for fixing ase.in.tum #1348

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

SebiWrn
Copy link
Contributor

@SebiWrn SebiWrn commented Apr 22, 2024

Motivation and Context

Fixed ticket of ase in tum

Description

Added headers to config

Copy link

Your Testserver will be ready at https://1348.test.live.mm.rbg.tum.de in a few minutes.

Logins
Kurs1 Kurs2 Kurs3 Kurs4
public public loggedin enrolled
prof1 prof1 prof2 prof1
prof2
student1
student2
student3
student1
student2
student2
student3
student1
student2

@SebiWrn SebiWrn requested a review from KemalKrKX April 23, 2024 15:36
@joschahenningsen
Copy link
Sponsor Member

Which headers do they need?

@SebiWrn
Copy link
Contributor Author

SebiWrn commented Apr 24, 2024

Access-Control-Allow-Origin with value ase.in.tum.de, because they told us else they can't edit the jframes on their website with javascript

Copy link

@KemalKrKX KemalKrKX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Sponsor Member

@joschahenningsen joschahenningsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could also be handled using traefik https://doc.traefik.io/traefik/middlewares/http/headers/

@SebiWrn
Copy link
Contributor Author

SebiWrn commented Apr 24, 2024

Ok so we shouldn't do it with gin directly?

@SebiWrn SebiWrn marked this pull request as draft April 24, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants