Skip to content

Commit

Permalink
chore(react): load server correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Jan 16, 2025
1 parent 9181384 commit 0586cb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/vite",
"version": "5.11.0",
"version": "5.12.0",
"description": "Vite plugin for Athenna Framework.",
"license": "MIT",
"author": "João Lenon <lenon@athenna.io>",
Expand Down
2 changes: 1 addition & 1 deletion src/renders/React.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class React {
*/
public static async loadComponent<T = any>(path: string): Promise<T> {
const vite: Vite = ioc
.safeUse('Athenna/Core/Server')
.safeUse('Athenna/Core/HttpServer')
.getVitePlugin()
.getVite()

Expand Down

0 comments on commit 0586cb5

Please sign in to comment.