Skip to content

Commit

Permalink
fix import path
Browse files Browse the repository at this point in the history
  • Loading branch information
irustm committed May 7, 2021
1 parent 2a94fe3 commit 4c86edf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TODO:
[Full example](https://github.com/alosaur/alosaur-lite/tree/master/examples/basic)

```ts
import {App, Content, Controller, Get, Param, QueryParam} from "https://raw.githubusercontent.com/alosaur/alosaur-lite/master/dist/mod.js";
import {App, Content, Controller, Get, Param, QueryParam} from "https://deno.land/x/alosaur_lite/dist/mod.js";

@Controller()
export class MainController {
Expand Down
4 changes: 2 additions & 2 deletions examples/markdown/main.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Marked } from "https://jspm.dev/@ts-stack/markdown";

import { App, Controller, Ctx, Get, HttpContext, View } from "../../mod.ts";
import { App, Controller, Get, View } from "https://raw.githubusercontent.com/alosaur/alosaur/master/alosaur_lite.ts";
import { getHtmlPage } from "./html-page.ts";

@Controller()
export class MainController {
@Get()
indexPage(@Ctx() context: HttpContext) {
indexPage() {
return View("index.md", {});
}

Expand Down
1 change: 0 additions & 1 deletion src/render.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { getViewRenderConfig } from "./mod.ts";
import { HttpContext } from "./models.ts";

export class ContentResponse extends Response {
public __isContentResult__ = true;
Expand Down

1 comment on commit 4c86edf

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 4c86edf May 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

failed to fetch 'https://raw.githubusercontent.com/alosaur/alosaur/master/alosaur_lite.ts': HTTP status client error (404 Not Found) for url (https://raw.githubusercontent.com/alosaur/alosaur/master/alosaur_lite.ts)

Please sign in to comment.