Commit f397e4b7 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Fix OAuth link generation

parent 69641e0f
Pipeline #127 passed with stages
in 16 minutes and 57 seconds
...@@ -226,7 +226,6 @@ fn main() { ...@@ -226,7 +226,6 @@ fn main() {
println!("applying migrations …"); println!("applying migrations …");
db_apply_migrations::test(&mut conn); db_apply_migrations::test(&mut conn);
println!("scanning for contests …"); println!("scanning for contests …");
refresh_all_contests(&mut conn); refresh_all_contests(&mut conn);
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<div class="columns blogin"> <div class="columns blogin">
<div class="column is-two-fifths"></div> <div class="column is-two-fifths"></div>
<div class="column"> <div class="column">
<a class="button is-small is-info" href="{{ this.2 }}{{ self_url }}/oauth/{{ this.0 }}">{{ this.1 }}</a> <a class="button is-small is-info" href="{{ this.2 }}{{ ../self_url }}/oauth/{{ this.0 }}">{{ this.1 }}</a>
</div> </div>
</div> </div>
{{/each}} {{/each}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment