diff --git a/examples/example.cpp b/examples/example.cpp index 1db145f60..fd0d0b564 100644 --- a/examples/example.cpp +++ b/examples/example.cpp @@ -10,11 +10,11 @@ class ExampleLogHandler : public crow::ILogHandler { } }; -struct ExampleMiddelware +struct ExampleMiddleware { std::string message; - ExampleMiddelware() + ExampleMiddleware() { message = "foo"; } @@ -41,9 +41,9 @@ struct ExampleMiddelware int main() { - crow::App app; + crow::App app; - app.get_middleware().setMessage("hello"); + app.get_middleware().setMessage("hello"); CROW_ROUTE(app, "/") .name("hello")