Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docker): add police filing env and update cloud domain #74

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

yangchuansheng
Copy link
Collaborator

Add NEXT_PUBLIC_POLICE_FILING environment variable for police filing requirements and update cloud domain from tryfastgpt.ai to fastgpt.cn.

  • Add NEXT_PUBLIC_POLICE_FILING as both ARG and ENV
  • Update cloud domain references in sed commands

Add NEXT_PUBLIC_POLICE_FILING environment variable for police filing
requirements and update cloud domain from tryfastgpt.ai to fastgpt.cn.

- Add NEXT_PUBLIC_POLICE_FILING as both ARG and ENV
- Update cloud domain references in sed commands

Signed-off-by: Carson Yang <[email protected]>
Copy link

sweep-ai bot commented Nov 7, 2024

Hey @yangchuansheng, here is an example of how you can ask me to improve this pull request:

@Sweep Add unit tests for the environment variable parsing and replacement logic in the Dockerfile. Create tests that verify:
1. The NEXT_PUBLIC_POLICE_FILING environment variable is correctly passed and set
2. The sed replacement commands work as expected for different domain URLs
3. Verify that all specified domain replacements (fastgpt.in, tryfastgpt.ai, cloud.tryfastgpt.ai) are correctly transformed

📖 For more information on how to use Sweep, please read our documentation.

@sealos-ci-robot
Copy link
Member

📘 Preview FastGPT homepage

👀 Visit Preview

@c121914yu c121914yu merged commit 363bf15 into labring:new-home Nov 7, 2024
4 checks passed
c121914yu added a commit that referenced this pull request Nov 14, 2024
* Update workflow to Preview home page (#51)

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Update preview workflow

Signed-off-by: Carson Yang <[email protected]>

* Add gh-rebot config

Signed-off-by: Carson Yang <[email protected]>

* new home

* feat: finish

* update images

* fix: next-ui-react version

* fix: ui

* add: inter modal

* fix video ui

* fix ui again again again ...

* delete inter modal

* fix: jump to default no lang

* update: chinese seo

* replace chinese link

* add google tag manager

* add domain detection

* feat: add baidu conversion tracking

* fix

* add police filing (#72)

* add comment (#73)

* feat(docker): add police filing env and update cloud domain (#74)

Add NEXT_PUBLIC_POLICE_FILING environment variable for police filing
requirements and update cloud domain from tryfastgpt.ai to fastgpt.cn.

- Add NEXT_PUBLIC_POLICE_FILING as both ARG and ENV
- Update cloud domain references in sed commands

Signed-off-by: Carson Yang <[email protected]>

* feat(ci): add police filing build arg to landing page workflow (#75)

Add NEXT_PUBLIC_POLICE_FILING environment variable as build argument in
fastgpt-home-image workflow for configuring police filing information on
the landing page.

Signed-off-by: Carson Yang <[email protected]>

* add baidu keywords (#76)

---------

Signed-off-by: Carson Yang <[email protected]>
Co-authored-by: Carson Yang <[email protected]>
Co-authored-by: heavenmei <[email protected]>
Co-authored-by: heheer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants