Aggiunto metodo x fornire note ad UI
This commit is contained in:
@@ -70,6 +70,11 @@ namespace Thermo.Active.Controllers.WebApi
|
||||
|
||||
return Ok(currRecipe);
|
||||
}
|
||||
[Route("recipeNotes"), HttpGet]
|
||||
public IHttpActionResult GetRecipeNotes()
|
||||
{
|
||||
return Ok(NcFileAdapter.RecipeLiveData.recipeNotes);
|
||||
}
|
||||
|
||||
[Route("update"), HttpPut]
|
||||
[WebApiAuthorize(FunctionAccess = FUNCTIONALITY_NAMES.RECIPE_MANAGER, Action = ACTIONS.READ)]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"env": "development",
|
||||
"api": {
|
||||
"enabled": true,
|
||||
"apiServerUrl": "http://seriate.steamware.net:9000/"
|
||||
"apiServerUrl": "http://localhost:9000/"
|
||||
},
|
||||
"allUIVisible": true
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
<script src="Scripts/jquery.mousewheel.js"></script>
|
||||
<script src="Scripts/jquery.signalR-2.2.2.min.js"></script>
|
||||
<script src="Scripts/raphael-2.1.4.min.js"></script>
|
||||
<script src="http://seriate.steamware.net:9000/signalr/hubs" async></script>
|
||||
<script src="http://localhost:9000/signalr/hubs" async></script>
|
||||
|
||||
<link href="assets/styles/style.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user