chore(#15): inject Giphy API key via --dart-define (drop hardcoded key)
gif_picker.dart reads GIPHY_API_KEY from String.fromEnvironment instead of a hardcoded constant - key is supplied at build time (--dart-define-from-file= dart_defines.json, gitignored), never in source or history. Adds dart_defines.example.json template + .gitignore entry; picker shows a hint when no key is configured. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>pull/20/head
parent
cfd186f2a3
commit
28f277addf
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"GIPHY_API_KEY": "your-giphy-api-key-from-developers.giphy.com"
|
||||||
|
}
|
||||||
Loading…
Reference in new issue