Skip to content

Commit

Permalink
chore: remove localhost links
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Nov 24, 2023
1 parent 597a975 commit 5ad9e69
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
15 changes: 7 additions & 8 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,14 @@
"searchPattern": "/\\]\\(https:\\/\\/developer.mozilla.org\\/(?!en-US\\/blog\\/)/g",
"replace": "](/",
"searchScope": "text"
},
{
"name": "localhost-links",
"message": "Don't use localhost for links",
"searchPattern": "/\\]\\(https?:\\/\\/localhost:\\d+\\//g",
"replace": "](/",
"searchScope": "text"
}
// XXX Many instances still found in translated content
// {
// "name": "localhost-links",
// "message": "Don't use localhost for links",
// "searchPattern": "/\\]\\(https?:\\/\\/localhost:\\d+\\//g",
// "replace": "](/",
// "searchScope": "text"
// }
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ If you don't want to use a service like Sauce Labs or BrowserStack, you can alwa

(update the `.jar` filename) so it matches exactly what file you've got.

4. The server will run on [`http://localhost:4444/wd/hub`](http://localhost:4444/wd/hub) — try going there now to see what you get.
4. The server will run on `http://localhost:4444/wd/hub` — try going there now to see what you get.

Now we've got the server running, let's create a demo test that will run on the remote selenium server.

Expand Down
6 changes: 3 additions & 3 deletions files/ko/webassembly/rust_to_wasm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,11 @@ npm 계정명을 한번 더 입력해야 합니다.
파일들을 모두 만들었으니, 한번 보도록 합시다.

```bash
npm install
npm run serve
npm install
npm run serve
```

이것은 간단한 웹 서버를 시작합니다. [http://localhost:8080](http://localhost:8080/)을 열면 화면에 `Hello, WebAssembly!` 라고 쓰여진 alert box가 나타납니다. 우리는 성공적으로 JavaScript로부터 Rust를, Rust로부터 JavaScript를 호출하였습니다.
이것은 간단한 웹 서버를 시작합니다. `http://localhost:8080` 을 열면 화면에 `Hello, WebAssembly!` 라고 쓰여진 alert box가 나타납니다. 우리는 성공적으로 JavaScript로부터 Rust를, Rust로부터 JavaScript를 호출하였습니다.

## 결론

Expand Down
16 changes: 8 additions & 8 deletions files/ru/learn/server-side/express_nodejs/routes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,14 +613,14 @@ app.use("/catalog", catalogRouter); // Add catalog routes to middleware chain.

После запуска перейдите к совокупности URL нашей LocalLibrary, и проверьте, что не появляется страница ошибки (HTTP 404). Небольшая часть наших URL для удобства приводится ниже:

- <http://localhost:3000/>
- <http://localhost:3000/catalog>
- <http://localhost:3000/catalog/books>
- <http://localhost:3000/catalog/bookinstances/>
- <http://localhost:3000/catalog/authors/>
- <http://localhost:3000/catalog/genres/>
- [http://localhost:3000/catalog/book/5846437593935e2f8c2aa226](http://localhost:3000/catalog/book/5846437593935e2f8c2aa226/)
- <http://localhost:3000/catalog/book/create>
- `http://localhost:3000/`
- `http://localhost:3000/catalog`
- `http://localhost:3000/catalog/books`
- `http://localhost:3000/catalog/bookinstances/`
- `http://localhost:3000/catalog/authors/`
- `http://localhost:3000/catalog/genres/`
- `http://localhost:3000/catalog/book/5846437593935e2f8c2aa226`
- `http://localhost:3000/catalog/book/create`

## Итог

Expand Down

0 comments on commit 5ad9e69

Please sign in to comment.