mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
Improve the "basics" example (#393)
This commit is contained in:
parent
401753dd90
commit
7783600918
@ -16,7 +16,7 @@ cargo run
|
||||
- [http://localhost:8080/async-body/bob](http://localhost:8080/async-body/bob)
|
||||
- [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) text/plain download
|
||||
- [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other)
|
||||
- [http://localhost:8080/favicon](http://localhost:8080/static/favicon.htmicol)
|
||||
- [http://localhost:8080/favicon](http://localhost:8080/favicon)
|
||||
- [http://localhost:8080/welcome](http://localhost:8080/static/welcome.html)
|
||||
- [http://localhost:8080/notexit](http://localhost:8080/static/404.html) display 404 page
|
||||
- [http://localhost:8080/error](http://localhost:8080/error) Panic after request
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<title>actix - basics</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
<head>
|
||||
<title>actix - basics</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Welcome <img width="30px" height="30px" src="/static/actixLogo.png" /></h1>
|
||||
<h1>Welcome <img width="30" height="30" src="/static/actixLogo.png"></h1>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user