diff --git a/src/buttondevteam/website/page/Page.java b/src/buttondevteam/website/page/Page.java index 21bd5a2..66633f8 100644 --- a/src/buttondevteam/website/page/Page.java +++ b/src/buttondevteam/website/page/Page.java @@ -18,6 +18,7 @@ public abstract class Page implements HttpHandler { @Override public void handle(HttpExchange exchange) { try { + exchange.getResponseHeaders().add("Access-Control-Allow-Origin", "https://tbmcplugins.github.io"); if (exchange.getRequestURI().getPath().equals("/" + GetName())) IOHelper.SendResponse(handlePage(exchange)); else {