mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-18 08:16:04 +02:00
Bluesky: update Ansible patches to use new geolocation module path
Replaced hardcoded path to src/state/geolocation.tsx with variable BLUESKY_GEOLOCATION_PATH pointing to src/state/geolocation/index.tsx. This ensures BAPP_CONFIG_URL and IPCC_URL replacements work with the updated Bluesky code structure. Ref: https://chatgpt.com/share/68cb16d5-d698-800f-97e5-cc7d9016f27c
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
|
||||
- name: Force BAPP_CONFIG_URL to same-origin /config
|
||||
ansible.builtin.replace:
|
||||
path: "{{ BLUESKY_SOCIAL_APP_DIR }}/src/state/geolocation.tsx"
|
||||
path: "{{ BLUESKY_GEOLOCATION_PATH }}"
|
||||
regexp: '^\s*const\s+BAPP_CONFIG_URL\s*=\s*.*$'
|
||||
replace: "const BAPP_CONFIG_URL = '/config'"
|
||||
|
||||
- name: Force IPCC_URL to same-origin /ipcc
|
||||
ansible.builtin.replace:
|
||||
path: "{{ BLUESKY_SOCIAL_APP_DIR }}/src/state/geolocation.tsx"
|
||||
path: "{{ BLUESKY_GEOLOCATION_PATH }}"
|
||||
regexp: '^\s*const\s+IPCC_URL\s*=\s*.*$'
|
||||
replace: "const IPCC_URL = '/ipcc'"
|
||||
|
Reference in New Issue
Block a user