2

I'm working on an application that uses imgur as hosting service and I'll be uploading images to imgur using javascript. But that means I have to put the client id in my code so everyone will be able to see my client id when they look at the source. Is this bad and if so what can I do as a workaround?

Thanks!

4

1 回答 1

1

如果您不希望其他人使用您的客户 ID,那就不好了。

您可以使用 node.js 来使用您现在使用的相同 javascript,但在服务器端。

这样,您就不必学习一门新语言,而是从将它保存在服务器上获得所有好处。

祝你好运,

博瓦科

于 2014-11-30T12:24:09.770 回答