Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
| 64 |
<script src="libs/angular.min.js"></script>
|
| 65 |
<script>
|
| 66 |
var app = angular.module('myApp', []);
|
| 67 |
-
var baseurl='https://abhijitkumarjha88192-webui-fastapi.hf.space
|
| 68 |
app.controller('MyController', function ($scope, $http) {
|
| 69 |
$scope.rows = [
|
| 70 |
];
|
|
@@ -146,7 +146,7 @@
|
|
| 146 |
$scope.callapi = function () {
|
| 147 |
var req = {
|
| 148 |
method: 'GET',
|
| 149 |
-
url: baseurl
|
| 150 |
headers: {
|
| 151 |
'Content-Type': undefined
|
| 152 |
},
|
|
|
|
| 64 |
<script src="libs/angular.min.js"></script>
|
| 65 |
<script>
|
| 66 |
var app = angular.module('myApp', []);
|
| 67 |
+
var baseurl='https://abhijitkumarjha88192-webui-fastapi.hf.space'
|
| 68 |
app.controller('MyController', function ($scope, $http) {
|
| 69 |
$scope.rows = [
|
| 70 |
];
|
|
|
|
| 146 |
$scope.callapi = function () {
|
| 147 |
var req = {
|
| 148 |
method: 'GET',
|
| 149 |
+
url: baseurl + '/datas/getall',
|
| 150 |
headers: {
|
| 151 |
'Content-Type': undefined
|
| 152 |
},
|