Skip to content

Commit 54e4b57

Browse files
committed
real network requests
1 parent 656ad45 commit 54e4b57

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

angular.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
},
5252
"serve": {
5353
"builder": "@angular-devkit/build-angular:dev-server",
54+
"options": {
55+
"buildTarget": "Project-1:build",
56+
"proxyConfig": "proxy.conf.json"
57+
},
5458
"configurations": {
5559
"production": {
5660
"buildTarget": "Project-1:build:production"

proxy.conf.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"/vds/*": {
3+
"target": "https://smstestbed.nist.gov/",
4+
"changeOrigin": true
5+
}
6+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<p>Nist Data</p>
2-
<app-consolodated-viewer sourceUrl="assets/test-data/current.xml" />
2+
<app-consolodated-viewer sourceUrl="/vds/current" />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<p>samples-tab works!</p>
2-
<app-consolodated-viewer sourceUrl="assets/test-data/current.xml" />
2+
<app-consolodated-viewer sourceUrl="/vds/sample" />

0 commit comments

Comments
 (0)