shuashuai commented on issue #1408: URL: https://github.com/apache/answer/issues/1408#issuecomment-3459343050
> > > I changed the"/conf/config.yaml" and restarted answer, but it didn't take effect on the front.. > > > ui > > > > > > Have you checked the static resource addresses after using make ui to build? > > eg: > > <img alt="Image" width="870" height="727" src="https://private-user-images.githubusercontent.com/30591202/506449434-ece0e921-a735-473f-82fb-fe9e0dc63177.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjE2NzU1NjksIm5iZiI6MTc2MTY3NTI2OSwicGF0aCI6Ii8zMDU5MTIwMi81MDY0NDk0MzQtZWNlMGU5MjEtYTczNS00NzNmLTgyZmItZmU5ZTBkYzYzMTc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEwMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMDI4VDE4MTQyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViNDNkYzc3OGJhMThhYmVhMDM5NDQ0MjYyNTFhMTBjZTA2ZTQxNGI3ZGJiNWY5OTcxZDk3OGU0YzhkZjdiYjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hFOoVkUJGXNSr9-WW2pcJ6bop_8eTmqAgCX9R55qKPA"> > > 哦,构建前得先修改".env.production"是吧?另外我不需要重新构建answer的程序吧,只需要在answer目录下"/conf/config.yaml"中填写cdn链接就行吧 > > Oh, you have to fix it before you build".env.production"? In addition, I don't need to rebuild the answer program, just fill in the CDN link in the "/conf/config.yaml "under the answer directory. After configuring config.yaml, it's done. There will be a script to automatically handle injecting the environment variables for the UI. Answer needs to be rebuilt because the resources in answer have changed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
