diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-08-19 13:17:51 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-08-19 14:32:18 -0700 |
commit | 9da6639cb4e02a9e39d8861a74b0db1cd10b40c5 (patch) | |
tree | 212f38b4638f01d15ac6ae5dc4ea01ef34f5a56f | |
parent | 1c131f29d7877e3155f1e58ef3aa99b51faf399b (diff) |
Make fetch in tf-graph demo use cookie support.
Change: 130790647
-rw-r--r-- | tensorflow/tensorboard/components/tf-graph-app/demo/index.html | 2 |
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> |