diff --git a/src/main/java/com/google/glassware/WebUtil.java b/src/main/java/com/google/glassware/WebUtil.java index 0c808c3..147198b 100644 --- a/src/main/java/com/google/glassware/WebUtil.java +++ b/src/main/java/com/google/glassware/WebUtil.java @@ -28,8 +28,14 @@ public class WebUtil { * Builds a URL relative to this app's root. */ public static String buildUrl(HttpServletRequest req, String relativePath) { + GenericUrl url = new GenericUrl(req.getRequestURL().toString()); url.setRawPath(relativePath); + // If you're using a request forwarder, like ngrok, you probably need to + // change this function + if (req.getServerName().contains("ngrok.com")) { + url.setScheme("https"); + } return url.build(); } diff --git a/src/main/webapp/static/images/drill.png b/src/main/webapp/static/images/drill.png index 0f90d6d..5f41e03 100644 Binary files a/src/main/webapp/static/images/drill.png and b/src/main/webapp/static/images/drill.png differ diff --git a/src/main/webapp/static/images/saturn-eclipse.jpg b/src/main/webapp/static/images/saturn-eclipse.jpg deleted file mode 100644 index 2c5be34..0000000 Binary files a/src/main/webapp/static/images/saturn-eclipse.jpg and /dev/null differ diff --git a/src/main/webapp/static/images/send_to_glass_64x64.png b/src/main/webapp/static/images/send_to_glass_64x64.png deleted file mode 100644 index 600b124..0000000 Binary files a/src/main/webapp/static/images/send_to_glass_64x64.png and /dev/null differ