Skip to content

Commit

Permalink
more todos
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Apr 27, 2020
1 parent 7163dd9 commit 2795e6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Expand Up @@ -10,7 +10,7 @@ variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
deployNuget: '1'
deployNuget: '0'

steps:
- task: NuGetToolInstaller@1
Expand Down
Expand Up @@ -39,6 +39,7 @@ public static IApplicationBuilder UseBlockly(this IApplicationBuilder app)

var service = app.ApplicationServices.GetService<GenerateBlocklyFilesHostedService>();
service.app = app;
//TODO: put correct JAVASCRIPT mime type
app.Map("/blocklyDefinitions", app =>
{
var h = app.ApplicationServices.GetService<GenerateBlocklyFilesHostedService>();
Expand All @@ -52,6 +53,7 @@ public static IApplicationBuilder UseBlockly(this IApplicationBuilder app)
}
});
});
//TODO: duplicate function please refactor.
app.Map("/BlocklyToolBoxValueDefinitions", app =>
{
var h = app.ApplicationServices.GetService<GenerateBlocklyFilesHostedService>();
Expand Down

0 comments on commit 2795e6b

Please sign in to comment.