Skip to content

Commit d635b34

Browse files
authored
Add Netlify _redirects file
This ensures the URLs can be navigated to directly. Tested in ember-learn/super-rentals#146
1 parent 64f1714 commit d635b34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/markdown/tutorial/part-1/01-orientation.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ del package.json
9090
}
9191
```
9292

93+
```run:file:create hidden=true cwd=super-rentals filename=public/_redirects
94+
/* /index.html 200
95+
```
96+
9397
```run:file:patch hidden=true cwd=super-rentals filename=tests/index.html
9498
@@ -28,2 +28,91 @@
9599
<script src="{{rootURL}}assets/tests.js"></script>
@@ -189,7 +193,7 @@ del package.json
189193
yarn test
190194
git add app/index.html
191195
git add config/environment.js
192-
git add testem.js
196+
git add public/_redirects
193197
git add tests/index.html
194198
git commit --amend --no-edit
195199
```

0 commit comments

Comments
 (0)