Fix CORS policy

This commit is contained in:
Elnu 2023-08-24 15:19:20 -07:00
parent 412ca4e538
commit ba6f91f672
6 changed files with 31 additions and 5 deletions

View file

@ -40,7 +40,7 @@
pname = "tatoeba";
version = "0.1.0";
buildAndTestSubdir = "tatoeba";
cargoHash = "sha256-AK47aWFl4eLIVHy27iE2MX62+dfjidlMZT1/uzxQh4E=";
cargoHash = "sha256-/mtl2kes7KmT3Vq+M/kpezhRTKLju3ZRXHFf2Zblczo=";
meta = meta // {
description = "A proxy of the Tatoeba API with no CORS restrictions.";
};
@ -49,7 +49,7 @@
pname = "images";
version = "0.1.0";
buildAndTestSubdir = "images";
cargoHash = "sha256-t7IDZJcpYc6eftNedFCRlJ+LQ1O2L2c/XjX8+YqZcjI=";
cargoHash = "sha256-sxge+4WuT8iEVihiqvUAdS+n6U+NzEhfJ0p7lc+uLHE=";
meta = meta // {
description = "An API for fetching images of a query, sourced from Microsoft Bing.";
};