mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 06:21:49 +08:00
Python section all done
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
export default (prop, cat, key) => {
|
||||
// Show as changed when enabled & not default
|
||||
// Show php as changed when completely disabled (by reverse proxy)
|
||||
// Show reverse proxy as changed when completely disabled (by php)
|
||||
// Show php as changed when completely disabled (by reverse proxy or python)
|
||||
return (prop.enabled && prop.value !== prop.default)
|
||||
|| (cat === 'php' && key === 'php' && prop.computed !== prop.default)
|
||||
|| (cat === 'reverseProxy' && key === 'reverseProxy' && prop.computed !== prop.default);
|
||||
|| (cat === 'php' && key === 'php' && prop.computed !== prop.default);
|
||||
};
|
||||
|
Reference in New Issue
Block a user