Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change play.minio.io to play.min.io #786

Merged
merged 1 commit into from
Aug 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You need five items in order to connect to MinIO object storage server.
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand All @@ -60,7 +60,7 @@ var minioClient = new Minio.Client({

This example program connects to an object storage server, makes a bucket on the server and then uploads a file to the bucket.

We will use the MinIO server running at [https://play.min.io:9000](https://play.min.io:9000) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public.
We will use the MinIO server running at [https://play.min.io](https://play.min.io) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public.

#### file-uploader.js

Expand All @@ -70,7 +70,7 @@ var Minio = require('minio')
// Instantiate the minio client with the endpoint
// and access keys as shown below.
var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down
6 changes: 3 additions & 3 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ npm install -g
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand All @@ -52,7 +52,7 @@ var minioClient = new Minio.Client({

本示例连接到一个对象存储服务,创建一个存储桶并上传一个文件到存储桶中。

我们在本示例中使用运行在 [https://play.min.io:9000](https://play.min.io:9000) 上的Minio服务,你可以用这个服务来开发和测试。示例中的访问凭据是公开的。
我们在本示例中使用运行在 [https://play.min.io](https://play.min.io) 上的Minio服务,你可以用这个服务来开发和测试。示例中的访问凭据是公开的。

#### file-uploader.js

Expand All @@ -62,7 +62,7 @@ var Minio = require('minio')
// Instantiate the minio client with the endpoint
// and access keys as shown below.
var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down
4 changes: 2 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down Expand Up @@ -75,7 +75,7 @@ __Example__
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_CN/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down Expand Up @@ -74,7 +74,7 @@ __示例__
var Minio = require('minio')

var minioClient = new Minio.Client({
endPoint: 'play.minio.io',
endPoint: 'play.min.io',
port: 9000,
useSSL: true,
accessKey: 'Q3AM3UQ867SPQQA43P2F',
Expand Down
4 changes: 2 additions & 2 deletions src/test/functional/functional-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ require('source-map-support').install()
describe('functional tests', function() {
this.timeout(30 * 60 * 1000)
var playConfig = {}
// If credentials aren't given, default to play.minio.io.
// If credentials aren't given, default to play.min.io.
if (process.env['SERVER_ENDPOINT']) {
var res = process.env['SERVER_ENDPOINT'].split(":")
playConfig.endPoint = res[0]
playConfig.port = parseInt(res[1])
} else {
playConfig.endPoint = 'play.minio.io'
playConfig.endPoint = 'play.min.io'
playConfig.port = 9000
}
playConfig.accessKey = process.env['ACCESS_KEY'] || 'Q3AM3UQ867SPQQA43P2F'
Expand Down