aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-08-19 13:17:51 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-19 14:32:18 -0700
commit9da6639cb4e02a9e39d8861a74b0db1cd10b40c5 (patch)
tree212f38b4638f01d15ac6ae5dc4ea01ef34f5a56f
parent1c131f29d7877e3155f1e58ef3aa99b51faf399b (diff)
Make fetch in tf-graph demo use cookie support.
Change: 130790647
-rw-r--r--tensorflow/tensorboard/components/tf-graph-app/demo/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tensorboard/components/tf-graph-app/demo/index.html b/tensorflow/tensorboard/components/tf-graph-app/demo/index.html
index 44bbfae055..965bd09afc 100644
--- a/tensorflow/tensorboard/components/tf-graph-app/demo/index.html
+++ b/tensorflow/tensorboard/components/tf-graph-app/demo/index.html
@@ -18,7 +18,7 @@
<tf-graph-app id="tfgraph"></tf-graph-app>
<script>
let g = document.querySelector("#tfgraph");
- fetch("graph.pbtxt").then(r => r.text()).then(pbtxt => {
+ fetch("graph.pbtxt", {credentials: "include"}).then(r => r.text()).then(pbtxt => {
g.pbtxt = pbtxt;
});
</script>