Skip to content

Instantly share code, notes, and snippets.

@suma
Created April 10, 2013 15:55
Show Gist options
  • Select an option

  • Save suma/5355902 to your computer and use it in GitHub Desktop.

Select an option

Save suma/5355902 to your computer and use it in GitHub Desktop.
diff --git a/src/main/webapp/index.xsl b/src/main/webapp/index.xsl
index 38e4172..83b3241 100644
--- a/src/main/webapp/index.xsl
+++ b/src/main/webapp/index.xsl
@@ -47,7 +47,7 @@
<script src="http://java.com/js/deployJava.js"></script>
<div>
<script>
- var attributes = { codebase: 'http://festivoice.net/', code: 'net.festivoice.AppletLauncher', archive: 'pkg/festivoice.jar', width: 300, height: 200 };
+ var attributes = { codebase: 'http://127.0.0.1:8080/', code: 'net.festivoice.AppletLauncher', archive: 'pkg/festivoice.jar', width: 300, height: 200 };
var parameters = { host: 'stream.festivoice.net', port: 11100, user: '-', channel: '-' };
deployJava.runApplet(attributes, parameters, '1.5');
</script>
diff --git a/src/main/webapp/jnlp.xsl b/src/main/webapp/jnlp.xsl
index a7544c4..105eaf8 100644
--- a/src/main/webapp/jnlp.xsl
+++ b/src/main/webapp/jnlp.xsl
@@ -2,7 +2,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="UTF-8" method="xml" cdata-section-elements="argument"/>
<xsl:template match="/">
-<jnlp spec="1.0+" codebase="http://festivoice.net/start/">
+<jnlp spec="1.0+" codebase="http://127.0.0.1:8080/start/">
<xsl:attribute name="href"><xsl:value-of select="start/channelURL"/></xsl:attribute>
<information>
diff --git a/src/main/webapp/pkg/festivoice.net.jnlp b/src/main/webapp/pkg/festivoice.net.jnlp
index 64a4a49..118bc90 100644
--- a/src/main/webapp/pkg/festivoice.net.jnlp
+++ b/src/main/webapp/pkg/festivoice.net.jnlp
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.5+" codebase="http://festivoice.net/start/" href="../pkg/festivoice.net.jnlp">
+<jnlp spec="1.5+" codebase="http://127.0.0.1:8080/start/" href="../pkg/festivoice.net.jnlp">
<information>
<title>festivoice.net</title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment