Skip to content

Commit

Permalink
Remove the main page, redirect to breq.dev instead, update github link
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley Chalmers committed Dec 17, 2020
1 parent 15960bf commit 2396854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 39 deletions.
36 changes: 0 additions & 36 deletions index.html

This file was deleted.

2 changes: 1 addition & 1 deletion mcstatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function mcAddStylesheet() {
var head = document.getElementsByTagName("head")[0];

var style = document.createElement("link");
style.setAttribute("href", "https://g.breq.dev/mcstatus/mcstatus.css");
style.setAttribute("href", "https://github.breq.dev/mcstatus/mcstatus.css");
style.setAttribute("type", "text/css");
style.setAttribute("rel", "stylesheet");

Expand Down
4 changes: 2 additions & 2 deletions relay.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from flask import Flask, request, jsonify, send_file
from flask import Flask, request, jsonify, send_file, redirect
from flask_cors import CORS, cross_origin

from mcstatus import MinecraftServer
Expand Down Expand Up @@ -102,7 +102,7 @@ def status():

@app.route("/")
def index():
return send_file("index.html")
return redirect("https://breq.dev/showcase/mcstatus/")


@app.route("/mcstatus.css")
Expand Down

0 comments on commit 2396854

Please sign in to comment.