Size: a a a

Google Cloud Platform_ru

2019 February 05

MM

Maxim Makarov in Google Cloud Platform_ru
как это обойти можно?
источник

MM

Maxim Makarov in Google Cloud Platform_ru
источник

MM

Maxim Makarov in Google Cloud Platform_ru
у селектела, например, можно поменять response code
источник

MM

Maxim Makarov in Google Cloud Platform_ru
Although deployments and migrations of React apps (and other apps that need a more customizable webserver) are fast and comfortable with Buckets, we don’t recommend using them for production websites. The drawback of this handle-404-with-index.html is of course the returned 404 HTTP code in the header, which can mess up the SEO pretty badly. You could possibly rewrite the app router code to enforce the http header code to 200 when it renders the proper page. Or – use it for the continuous deployment of administration CMS or anything similar that is not meant for the general public.
источник

VP

Vitaly Parade in Google Cloud Platform_ru
Maxim Makarov
Although deployments and migrations of React apps (and other apps that need a more customizable webserver) are fast and comfortable with Buckets, we don’t recommend using them for production websites. The drawback of this handle-404-with-index.html is of course the returned 404 HTTP code in the header, which can mess up the SEO pretty badly. You could possibly rewrite the app router code to enforce the http header code to 200 when it renders the proper page. Or – use it for the continuous deployment of administration CMS or anything similar that is not meant for the general public.
в Гугл тоже можно
источник

VP

Vitaly Parade in Google Cloud Platform_ru
Maxim Makarov
Although deployments and migrations of React apps (and other apps that need a more customizable webserver) are fast and comfortable with Buckets, we don’t recommend using them for production websites. The drawback of this handle-404-with-index.html is of course the returned 404 HTTP code in the header, which can mess up the SEO pretty badly. You could possibly rewrite the app router code to enforce the http header code to 200 when it renders the proper page. Or – use it for the continuous deployment of administration CMS or anything similar that is not meant for the general public.
это для spa нужно особо
источник

MM

Maxim Makarov in Google Cloud Platform_ru
Vitaly Parade
в Гугл тоже можно
Что?))))
источник

VP

Vitaly Parade in Google Cloud Platform_ru
ну поменять файл если 404
источник

MM

Maxim Makarov in Google Cloud Platform_ru
Vitaly Parade
это для spa нужно особо
вы хотели сказать "НЕ нужно"?
источник

MM

Maxim Makarov in Google Cloud Platform_ru
Vitaly Parade
ну поменять файл если 404
так я поменял, однако status code 404 возвращается
источник

MM

Maxim Makarov in Google Cloud Platform_ru
и это очень плохо
источник

VP

Vitaly Parade in Google Cloud Platform_ru
Maxim Makarov
вы хотели сказать "НЕ нужно"?
слушай вдруг ты мне расскажешь и я буду очень рад а то прогеры говорят нельзя
источник

VP

Vitaly Parade in Google Cloud Platform_ru
ну типа вот обращаются на бакет а пути там такого нет
источник

VP

Vitaly Parade in Google Cloud Platform_ru
и бакет ведь не может перенаправить вызов для того чтобы react router сработал
источник

MM

Maxim Makarov in Google Cloud Platform_ru
чтоооооооо?))
источник

MM

Maxim Makarov in Google Cloud Platform_ru
почему нельзя просто дать возможность переопределить status code для страницы 404.html?
источник

MM

Maxim Makarov in Google Cloud Platform_ru
это все что нужно
источник

VP

Vitaly Parade in Google Cloud Platform_ru
Maxim Makarov
чтоооооооо?))
ну меня убедили вроде бы. что я даже начал сам пробовать на оеакте
источник

VP

Vitaly Parade in Google Cloud Platform_ru
чтобы проверить все что они говорят
источник

VP

Vitaly Parade in Google Cloud Platform_ru
Maxim Makarov
почему нельзя просто дать возможность переопределить status code для страницы 404.html?
вот это не понял
источник