Fixed globe outputting still images
This commit is contained in:
parent
6a96686772
commit
9f7f4d21ba
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ Napi::Value Globe(const Napi::CallbackInfo &info) {
|
|||
Napi::Object result = Napi::Object::New(env);
|
||||
result.Set("data", Napi::Buffer<char>::Copy(env, (char *)blob.data(),
|
||||
blob.length()));
|
||||
result.Set("type", type);
|
||||
result.Set("type", "gif");
|
||||
return result;
|
||||
} catch (Napi::Error const &err) {
|
||||
throw err;
|
||||
|
|
Loading…
Reference in a new issue