Commit 2deac929 authored by ibuler's avatar ibuler

[Update] 修改api地址

parent 90e10c55
......@@ -115,7 +115,7 @@ def index():
return render_template('index.html')
@app.route('/api/perms/v1/user/my/asset-groups-assets/')
@app.route('/api/perms/v1/user/nodes-assets/')
def asset_groups_assets():
assets = [
{
......
......@@ -67,7 +67,7 @@ export class HttpService {
}
get_my_asset_groups_assets() {
return this.http.get<Array<HostGroup>>('/api/perms/v1/user/my/asset-groups-assets/');
return this.http.get<Array<HostGroup>>('/api/perms/v1/user/nodes-assets/');
}
get_guacamole_token(username: string, assetID: string, systemUserID: string) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment