git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e556ef
)
better comment regarding setting recognized ajax-enabled sites
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Tue, 9 Apr 2019 04:39:28 +0000
(23:39 -0500)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Tue, 9 Apr 2019 04:39:28 +0000
(23:39 -0500)
src/jalview/util/Platform.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/Platform.java
b/src/jalview/util/Platform.java
index
fb786dc
..
3297104
100644
(file)
--- a/
src/jalview/util/Platform.java
+++ b/
src/jalview/util/Platform.java
@@
-571,15
+571,18
@@
public class Platform
public static void addJ2SDirectDatabaseCall(String domain)
{
- System.out.println(
- "Platform adding no-access-control-allow-origin domain "
+ if (isJS())
+ {
+ System.out.println(
+ "Platform adding known access-control-allow-origin * for domain "
+ domain);
+ /**
+ * @j2sNative
+ *
+ * J2S.addDirectDatabaseCall(domain);
+ */
+ }
- /**
- * @j2sNative
- *
- * J2S.addDirectDatabaseCall(domain);
- */
}
public static void getURLCommandArguments()