Skip to content

Commit

Permalink
Fix branch name: master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed May 3, 2022
1 parent 9cd4107 commit cf283d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ $default-branch ]
permissions:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)

[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml)
[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml)

На русском? Смотри [README.ru.md](README.ru.md)

Expand All @@ -23,19 +23,19 @@ Some features included in this bundle:

- **Display "StandWithUkraine" banner** to show that your website stands united with the people
of Ukraine.
![Example of StandWithUkraine banner](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/banner.png)
![Example of StandWithUkraine banner](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/banner.png)
- **Block content** for users who have the **preferred language** in `Accept-Language` request
header set to `ru`. Basically, affects people who read most of the content in Russian language.
Users would be able to access the content only after changing their preferred language to
any other language. They still can keep Russian language, but as a secondary one.
![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png)
![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png)
- **Block content** for users who are trying to **get access from Russian IP addresses**, i.e.
accessing the content from Russia. Users would be able to access the content only after
connecting via a [VPN](https://en.wikipedia.org/wiki/Virtual_private_network) client
choosing a location different from Russia region there. It makes things less convenient
probably, but if you're using a good VPN client - you get better security, especially if
you're connecting from public Wi-Fi spots or do not trust your internet provider.
![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png)
![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png)

## Installation

Expand Down
8 changes: 4 additions & 4 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/)

[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml)
[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml)

Speak English? See [README.md](README.md)

Expand All @@ -23,19 +23,19 @@ Speak English? See [README.md](README.md)

- **Показывать баннер "StandWithUkraine"**, чтобы показать, что ваш сайт солидарен с народом
Украины.
![Пример StandWithUkraine банера](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/banner.png)
![Пример StandWithUkraine банера](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/banner.png)
- **Блокировать контент** для пользователей, у которых **предпочтительный язык** в заголовке запроса `Accept-Language`
установлен как `ru`. В основном это касается людей, которые читают бóльшую часть контента на русском языке.
Пользователи смогут получить доступ к контенту только после изменения предпочитаемого языка на
любой другой язык. Они все еще могут сохранить русский язык, но как второстепенный.
![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png)
![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png)
- **Блокировать контент** для пользователей, которые пытаются **получить доступ с российских IP-адресов**, т.е.
доступ к контенту из России. Пользователи смогут получить доступ к контенту только после
подключения через [VPN](https://ru.wikipedia.org/wiki/VPN) клиент
выбрав там местоположение, отличное от российского региона. Возможно это делает испольхование сайта менее удобными,
но если вы используете хороший VPN клиент - вы получаете улучшенную безопасность, особенно если
вы подключаетесь из общественных точек Wi-Fi или не доверяете своему интернет-провайдеру.
![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png)
![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png)

## Установка

Expand Down

0 comments on commit cf283d2

Please sign in to comment.