Skip to content

Commit

Permalink
Rename routes
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbermattenm committed Mar 5, 2018
1 parent 88e506f commit fb0312f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pytree/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def home(name=None):
return render_template('home.html', name=name)


@app.route("/get_profile")
@app.route("/profile/get")
@cross_origin()
def get_profile():
cpotree = point_clouds = pytree_config['vars']['cpotree_executable']
Expand All @@ -55,7 +55,7 @@ def get_profile():
return out


@app.route("/get_profile_gmf1/profile")
@app.route("/profile_v1/get")
@cross_origin()
def get_profile_gmf1():

Expand Down Expand Up @@ -191,7 +191,7 @@ def get_profile_gmf1():


#proxy to gmf raster dem/dsm profile service
@app.route("/get_gmf_dem_dsm")
@app.route("/dem/get")
@cross_origin()
def get_gmf_dem_dsm():

Expand Down Expand Up @@ -221,7 +221,7 @@ def get_gmf_dem_dsm():

return jsonify(demdsm)

@app.route("/profile_config_gmf2")
@app.route("/profile/config")
@cross_origin()
def profile_config_gmf2():
return jsonify(pytree_config['vars'])
Expand Down

0 comments on commit fb0312f

Please sign in to comment.