Skip to content

Commit

Permalink
fix: fixed the example of django using NewPathForwardingFileSystem no…
Browse files Browse the repository at this point in the history
…t using the package name (#378)
  • Loading branch information
DoubleChuang authored Apr 14, 2024
1 parent ab4ea0f commit e727a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var viewsAsssets embed.FS

func main() {
// Create a new engine
engine := NewPathForwardingFileSystem(http.FS(viewsAsssets), "/views", ".django")
engine := django.NewPathForwardingFileSystem(http.FS(viewsAsssets), "/views", ".django")

// Pass the engine to the Views
app := fiber.New(fiber.Config{
Expand Down

0 comments on commit e727a31

Please sign in to comment.