Skip to content

Commit

Permalink
Update docs/tutorials/rest-api.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: André Eriksson <[email protected]>
  • Loading branch information
simon-johansson and eandre authored Sep 26, 2024
1 parent e292999 commit 6139ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/rest-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ import { Service } from "encore.dev/service";
export default new Service("url");
```

This is how you create microservices with Encore. Encore will now consider files in the `url` directory and all its subdirectories as part of the `url` service.
This is how you define a service with Encore. Encore will now consider files in the `url` directory and all its subdirectories as part of the `url` service.


🥐 Create a new file `url.ts` in the `url` directory that looks like this:
Expand Down

0 comments on commit 6139ab5

Please sign in to comment.