File tree Expand file tree Collapse file tree 7 files changed +26
-8
lines changed
Expand file tree Collapse file tree 7 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 1+ # [ad_server]
2+ TRUSTED_SERVER__AD_SERVER__AD_PARTNER_URL = http://127.0.0.1:10180
3+
4+ # [synthetic]
5+ TRUSTED_SERVER__SYNTHETIC__COUNTER_STORE = counter_store
6+ TRUSTED_SERVER__SYNTHETIC__OPID_STORE = opid_store
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636- Upgrade to fastly-cli 11.3.0
3737- Changed to use constants for headers
3838- Changed to use log statements
39+ - Updated fastly.toml for local development
3940
4041## [ 1.0.6] - 2025-05-29
4142
@@ -56,7 +57,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5657
5758- Implemented GDPR consent for creating and passing synth headers
5859
59-
6060## [ 1.0.4] - 2025-04-29
6161
6262### Added
Original file line number Diff line number Diff line change @@ -119,7 +119,13 @@ cargo install viceroy
119119```
120120
121121#### Run Fastly server locally
122- Review configuration for [ local_server] ( fastly.toml#L16 )
122+ - Review configuration for [ local_server] ( fastly.toml#L16 )
123+ - Review env variables overrides in [ .env.dev] ( .env.dev )
124+
125+ ``` sh
126+ export $( grep -v ' ^#' .env.dev | xargs -0)
127+ ```
128+
123129``` sh
124130fastly -i compute serve
125131```
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ license = "Apache-2.0"
1212chrono = " 0.4"
1313config = " 0.15.11"
1414cookie = " 0.18.1"
15- fastly = " 0.11.2 "
15+ fastly = " 0.11.5 "
1616futures = " 0.3"
1717handlebars = " 6.3.2"
1818hex = " 0.4.3"
Original file line number Diff line number Diff line change 1+ {
2+ "synthetic_id" : 10
3+ }
Original file line number Diff line number Diff line change 1+ {
2+ "synthetic_id" : 10
3+ }
Original file line number Diff line number Diff line change 33
4455cloned_from = " https://github.com/fastly/compute-starter-kit-rust-default"
6- description = " aslk "
6+ description = " Trusted Server "
77language = " rust"
88manifest_version = 3
99name = " trusted-server-fastly"
@@ -15,14 +15,14 @@ build = """
1515
1616[local_server ]
1717 [local_server .backends ]
18- [local_server .backends .equativ_ad_api_2 ] # FIX ME: must match config
19- url = " http://127.0.0.1/"
18+ [local_server .backends .ad_partner_url ]
19+ url = " http://127.0.0.1:10180 /"
2020
2121 [local_server .kv_stores ]
22- [[local_server .kv_stores .jevans_synth_id_counter ]] # FIX ME: must match config
22+ [[local_server .kv_stores .counter_store ]]
2323 key = " placeholder"
2424 data = " placeholder"
2525
26- [[local_server .kv_stores .jevans_synth_id_opid ]] # FIX ME: must match config
26+ [[local_server .kv_stores .opid_store ]]
2727 key = " placeholder"
2828 data = " placeholder"
You can’t perform that action at this time.
0 commit comments